forked from jan-leila/nix-config
		
	added home manger to all flakes
This commit is contained in:
		
							parent
							
								
									89c8c729fa
								
							
						
					
					
						commit
						bba88fc3fe
					
				
					 5 changed files with 26 additions and 13 deletions
				
			
		|  | @ -14,9 +14,6 @@ | |||
|   # Enable networking | ||||
|   networking.networkmanager.enable = true; | ||||
| 
 | ||||
|   # Set your time zone. | ||||
|   # time.timeZone = "America/Chicago"; | ||||
| 
 | ||||
|   i18n.defaultLocale = "en_US.UTF-8"; | ||||
| 
 | ||||
|   i18n.extraLocaleSettings = { | ||||
|  |  | |||
|  | @ -107,7 +107,7 @@ | |||
|               "${config.sops.secrets."services/pi-hole".path}:${passwordFileLocation}" | ||||
|             ]; | ||||
|             environment = { | ||||
|               TZ = config.time.timeZone; | ||||
|               TZ = "America/Chicago"; | ||||
|               WEBPASSWORD_FILE = passwordFileLocation; | ||||
|               PIHOLE_UID = toString config.users.users.pihole.uid; | ||||
|               PIHOLE_GID = toString config.users.groups.pihole.gid; | ||||
|  |  | |||
							
								
								
									
										20
									
								
								flake.nix
									
										
									
									
									
								
							
							
						
						
									
										20
									
								
								flake.nix
									
										
									
									
									
								
							|  | @ -69,23 +69,27 @@ | |||
|       horizon = nixpkgs.lib.nixosSystem { | ||||
|         specialArgs = {inherit inputs;}; | ||||
|         modules = [ | ||||
|           ./hosts/horizon/configuration.nix | ||||
|           nixos-hardware.nixosModules.framework-11th-gen-intel | ||||
|           home-manager.nixosModules.home-manager | ||||
|           { | ||||
|           home-manager.nixosModules.home-manager { | ||||
|             home-manager.useGlobalPkgs = true; | ||||
|             home-manager.useUserPackages = true; | ||||
|             home-manager.backupFileExtension = "backup"; | ||||
|             home-manager.extraSpecialArgs = { inherit inputs; }; | ||||
|           } | ||||
|           ./hosts/horizon/configuration.nix | ||||
|           nixos-hardware.nixosModules.framework-11th-gen-intel | ||||
|         ]; | ||||
|       }; | ||||
|       # Leyla Desktop | ||||
|       twilight = nixpkgs.lib.nixosSystem { | ||||
|         specialArgs = {inherit inputs;}; | ||||
|         modules = [ | ||||
|           home-manager.nixosModules.home-manager { | ||||
|             home-manager.useGlobalPkgs = true; | ||||
|             home-manager.useUserPackages = true; | ||||
|             home-manager.backupFileExtension = "backup"; | ||||
|             home-manager.extraSpecialArgs = { inherit inputs; }; | ||||
|           } | ||||
|           ./hosts/twilight/configuration.nix | ||||
|           home-manager.nixosModules.default | ||||
|         ]; | ||||
|       }; | ||||
|       # NAS Service | ||||
|  | @ -93,6 +97,12 @@ | |||
|         specialArgs = {inherit inputs;}; | ||||
|         modules = [ | ||||
|           disko.nixosModules.disko | ||||
|           home-manager.nixosModules.home-manager { | ||||
|             home-manager.useGlobalPkgs = true; | ||||
|             home-manager.useUserPackages = true; | ||||
|             home-manager.backupFileExtension = "backup"; | ||||
|             home-manager.extraSpecialArgs = { inherit inputs; }; | ||||
|           } | ||||
|           ./hosts/defiant/disko-config.nix | ||||
|           ./hosts/defiant/configuration.nix | ||||
|         ]; | ||||
|  |  | |||
|  | @ -14,6 +14,10 @@ | |||
|     ../../enviroments/server | ||||
|   ]; | ||||
| 
 | ||||
| 
 | ||||
|   home-manager.users.leyla.config = { | ||||
|     isThinUser = true; | ||||
|   }; | ||||
|   users.leyla.isThinUser = true; | ||||
| 
 | ||||
|   boot.loader.grub = { | ||||
|  |  | |||
|  | @ -14,11 +14,13 @@ | |||
|     ../../enviroments/client | ||||
|   ]; | ||||
| 
 | ||||
|   home-manager.users.leyla.config = { | ||||
|     isFullUser = true; | ||||
|     hasGPU = true; | ||||
|   }; | ||||
| 
 | ||||
|   users = { | ||||
|     leyla = { | ||||
|       isFullUser = true; | ||||
|       hasGPU = true; | ||||
|     }; | ||||
|     leyla.isFullUser = true; | ||||
|     ester.isFullUser = true; | ||||
|     eve.isFullUser = true; | ||||
|   }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue