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 | ||||
|   userConfig = osConfig.host.users.eve; | ||||
| in { | ||||
|   nixpkgs.config = { | ||||
|     allowUnfree = true; | ||||
|   }; | ||||
|   imports = [ | ||||
|     ./packages.nix | ||||
|   ]; | ||||
| 
 | ||||
|   home = { | ||||
|     username = userConfig.name; | ||||
|  |  | |||
|  | @ -6,13 +6,19 @@ | |||
|   ... | ||||
| }: let | ||||
|   userConfig = osConfig.host.users.eve; | ||||
|   hardware = osConfig.host.hardware; | ||||
| 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 ( | ||||
|       with pkgs; [ | ||||
|         ungoogled-chromium | ||||
|         (lib.mkIf hardware.piperMouse.enable piper) | ||||
|       ] | ||||
|     ); | ||||
| 
 | ||||
|  |  | |||
|  | @ -49,6 +49,9 @@ | |||
|         isPrincipleUser = true; | ||||
|       }; | ||||
|     }; | ||||
|     hardware = { | ||||
|       piperMouse.enable = true; | ||||
|     }; | ||||
| 
 | ||||
|     storage = { | ||||
|       enable = true; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue