mirror of
				https://github.com/Jokiller230/puzzlevision.git
				synced 2025-10-31 13:50:04 +00:00 
			
		
		
		
	✨ (modules/nixos) change standard shell to nushell
This commit is contained in:
		
							parent
							
								
									18337ad778
								
							
						
					
					
						commit
						a9726ee734
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		|  | @ -4,8 +4,9 @@ | |||
|   config, | ||||
|   pkgs, | ||||
|   ... | ||||
| }: with lib; with lib.${namespace}; | ||||
| }: | ||||
| let | ||||
|   inherit (lib) mkEnableOption mkIf; | ||||
|   cfg = config.${namespace}.common.shell; | ||||
| in { | ||||
|   options.${namespace}.common.shell = { | ||||
|  | @ -13,8 +14,8 @@ in { | |||
|   }; | ||||
| 
 | ||||
|   config = mkIf cfg.enable { | ||||
|     environment.shells = with pkgs; [ fish ]; | ||||
|     users.defaultUserShell = pkgs.fish; | ||||
|     environment.shells = with pkgs; [ nushell fish ]; | ||||
|     users.defaultUserShell = pkgs.nushell; | ||||
|     programs.fish.enable = true; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue