feat(zsh): add plugins module
This commit is contained in:
		
							parent
							
								
									6dba397306
								
							
						
					
					
						commit
						8f903a742a
					
				
					 4 changed files with 36 additions and 6 deletions
				
			
		|  | @ -1,13 +1,12 @@ | |||
| { lib, config, pkgs, ... }: | ||||
| { lib, config, ... }: | ||||
| 
 | ||||
| let | ||||
|   inherit (lib) mkIf; | ||||
|   adminShell = config.ooknet.host.admin.shell; | ||||
|   cfg = config.ooknet.shell.zsh; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|   config = mkIf (adminShell == "bash" || cfg.enable) { | ||||
|   config = mkIf (adminShell == "bash" ) { | ||||
|     programs.bash = { | ||||
|       enable = true; | ||||
|     }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue