forked from jan-leila/nix-config
		
	Merge pull request 'pulled in eves changes' (#4) from Lithospherical/nix-config:main into main
Reviewed-on: jan-leila/nix-config#4
This commit is contained in:
		
						commit
						d3761aa11c
					
				
					 3 changed files with 12 additions and 3 deletions
				
			
		|  | @ -1,9 +1,9 @@ | ||||||
| {osConfig, ...}: let | {osConfig, ...}: let | ||||||
|   userConfig = osConfig.host.users.eve; |   userConfig = osConfig.host.users.eve; | ||||||
| in { | in { | ||||||
|   nixpkgs.config = { |   imports = [ | ||||||
|     allowUnfree = true; |     ./packages.nix | ||||||
|   }; |   ]; | ||||||
| 
 | 
 | ||||||
|   home = { |   home = { | ||||||
|     username = userConfig.name; |     username = userConfig.name; | ||||||
|  |  | ||||||
|  | @ -6,13 +6,19 @@ | ||||||
|   ... |   ... | ||||||
| }: let | }: let | ||||||
|   userConfig = osConfig.host.users.eve; |   userConfig = osConfig.host.users.eve; | ||||||
|  |   hardware = osConfig.host.hardware; | ||||||
| in { | in { | ||||||
|   config = { |   config = { | ||||||
|  |     nixpkgs.config = { | ||||||
|  |       allowUnfree = true; | ||||||
|  |     }; | ||||||
|  | 
 | ||||||
|     # Packages that can be installed without any extra configuration |     # Packages that can be installed without any extra configuration | ||||||
|     # See https://search.nixos.org/packages for all options |     # See https://search.nixos.org/packages for all options | ||||||
|     home.packages = lib.lists.optionals userConfig.isDesktopUser ( |     home.packages = lib.lists.optionals userConfig.isDesktopUser ( | ||||||
|       with pkgs; [ |       with pkgs; [ | ||||||
|         ungoogled-chromium |         ungoogled-chromium | ||||||
|  |         (lib.mkIf hardware.piperMouse.enable piper) | ||||||
|       ] |       ] | ||||||
|     ); |     ); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -49,6 +49,9 @@ | ||||||
|         isPrincipleUser = true; |         isPrincipleUser = true; | ||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
|  |     hardware = { | ||||||
|  |       piperMouse.enable = true; | ||||||
|  |     }; | ||||||
| 
 | 
 | ||||||
|     storage = { |     storage = { | ||||||
|       enable = true; |       enable = true; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue