forked from jan-leila/nix-config
		
	moved Eve configurations into their own package
This commit is contained in:
		
							parent
							
								
									2820252c54
								
							
						
					
					
						commit
						21eff1d083
					
				
					 3 changed files with 60 additions and 50 deletions
				
			
		|  | @ -1,10 +1,4 @@ | |||
| { | ||||
|   pkgs, | ||||
|   lib, | ||||
|   config, | ||||
|   osConfig, | ||||
|   ... | ||||
| }: let | ||||
| {osConfig, ...}: let | ||||
|   userConfig = osConfig.host.users.eve; | ||||
| in { | ||||
|   nixpkgs.config = { | ||||
|  | @ -57,42 +51,5 @@ in { | |||
|     sessionVariables = { | ||||
|       # EDITOR = "emacs"; | ||||
|     }; | ||||
| 
 | ||||
|     packages = lib.lists.optionals userConfig.isDesktopUser ( | ||||
|       with pkgs; [ | ||||
|         firefox | ||||
|         bitwarden | ||||
|         discord | ||||
|         makemkv | ||||
|         signal-desktop-bin | ||||
|         ungoogled-chromium | ||||
|       ] | ||||
|     ); | ||||
|   }; | ||||
| 
 | ||||
|   programs = { | ||||
|     # Let Home Manager install and manage itself. | ||||
|     home-manager.enable = true; | ||||
| 
 | ||||
|     git = { | ||||
|       enable = true; | ||||
|       userName = "Eve"; | ||||
|       userEmail = "evesnrobins@gmail.com"; | ||||
|       extraConfig.init.defaultBranch = "main"; | ||||
|     }; | ||||
| 
 | ||||
|     vscode = { | ||||
|       enable = true; | ||||
|       package = pkgs.vscodium; | ||||
|     }; | ||||
| 
 | ||||
|     openssh = { | ||||
|       hostKeys = [ | ||||
|         { | ||||
|           type = "ed25519"; | ||||
|           path = "${config.home.username}_${osConfig.networking.hostName}_ed25519"; | ||||
|         } | ||||
|       ]; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue