forked from jan-leila/nix-config
		
	fixed eve not importing packages.nix
This commit is contained in:
		
							parent
							
								
									198e4c4c5b
								
							
						
					
					
						commit
						6c7b40e10e
					
				
					 2 changed files with 7 additions and 3 deletions
				
			
		|  | @ -1,9 +1,9 @@ | |||
| {osConfig, ...}: let | ||||
|   userConfig = osConfig.host.users.eve; | ||||
| in { | ||||
|   nixpkgs.config = { | ||||
|     allowUnfree = true; | ||||
|   }; | ||||
|   imports = [ | ||||
|     ./packages.nix | ||||
|   ]; | ||||
| 
 | ||||
|   home = { | ||||
|     username = userConfig.name; | ||||
|  |  | |||
|  | @ -8,6 +8,10 @@ | |||
|   userConfig = osConfig.host.users.eve; | ||||
| in { | ||||
|   config = { | ||||
|     nixpkgs.config = { | ||||
|       allowUnfree = true; | ||||
|     }; | ||||
| 
 | ||||
|     # Packages that can be installed without any extra configuration | ||||
|     # See https://search.nixos.org/packages for all options | ||||
|     home.packages = lib.lists.optionals userConfig.isDesktopUser ( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue