forked from jan-leila/nix-config
		
	merged home manager configs for all systems
This commit is contained in:
		
							parent
							
								
									da7b146213
								
							
						
					
					
						commit
						232f31d23d
					
				
					 1 changed files with 12 additions and 22 deletions
				
			
		
							
								
								
									
										34
									
								
								flake.nix
									
										
									
									
									
								
							
							
						
						
									
										34
									
								
								flake.nix
									
										
									
									
									
								
							|  | @ -64,18 +64,20 @@ | ||||||
|   in { |   in { | ||||||
|     packages = forEachPkgs (pkgs: import ./pkgs {inherit pkgs;}); |     packages = forEachPkgs (pkgs: import ./pkgs {inherit pkgs;}); | ||||||
| 
 | 
 | ||||||
|     nixosConfigurations = { |     nixosConfigurations = let | ||||||
|       # Leyla Laptop |       home-manager-config = { | ||||||
|       horizon = nixpkgs.lib.nixosSystem { |  | ||||||
|         specialArgs = {inherit inputs;}; |  | ||||||
|         modules = [ |  | ||||||
|           home-manager.nixosModules.home-manager |  | ||||||
|           { |  | ||||||
|         home-manager.useGlobalPkgs = true; |         home-manager.useGlobalPkgs = true; | ||||||
|         home-manager.useUserPackages = true; |         home-manager.useUserPackages = true; | ||||||
|         home-manager.backupFileExtension = "backup"; |         home-manager.backupFileExtension = "backup"; | ||||||
|         home-manager.extraSpecialArgs = {inherit inputs;}; |         home-manager.extraSpecialArgs = {inherit inputs;}; | ||||||
|           } |       }; | ||||||
|  |     in | ||||||
|  |     { | ||||||
|  |       # Leyla Laptop | ||||||
|  |       horizon = nixpkgs.lib.nixosSystem { | ||||||
|  |         specialArgs = {inherit inputs;}; | ||||||
|  |         modules = [ | ||||||
|  |           home-manager.nixosModules.home-manager home-manager-config | ||||||
|           ./hosts/horizon/configuration.nix |           ./hosts/horizon/configuration.nix | ||||||
|           nixos-hardware.nixosModules.framework-11th-gen-intel |           nixos-hardware.nixosModules.framework-11th-gen-intel | ||||||
|         ]; |         ]; | ||||||
|  | @ -84,13 +86,7 @@ | ||||||
|       twilight = nixpkgs.lib.nixosSystem { |       twilight = nixpkgs.lib.nixosSystem { | ||||||
|         specialArgs = {inherit inputs;}; |         specialArgs = {inherit inputs;}; | ||||||
|         modules = [ |         modules = [ | ||||||
|           home-manager.nixosModules.home-manager |           home-manager.nixosModules.home-manager home-manager-config | ||||||
|           { |  | ||||||
|             home-manager.useGlobalPkgs = true; |  | ||||||
|             home-manager.useUserPackages = true; |  | ||||||
|             home-manager.backupFileExtension = "backup"; |  | ||||||
|             home-manager.extraSpecialArgs = {inherit inputs;}; |  | ||||||
|           } |  | ||||||
|           ./hosts/twilight/configuration.nix |           ./hosts/twilight/configuration.nix | ||||||
|         ]; |         ]; | ||||||
|       }; |       }; | ||||||
|  | @ -99,13 +95,7 @@ | ||||||
|         specialArgs = {inherit inputs;}; |         specialArgs = {inherit inputs;}; | ||||||
|         modules = [ |         modules = [ | ||||||
|           disko.nixosModules.disko |           disko.nixosModules.disko | ||||||
|           home-manager.nixosModules.home-manager |           home-manager.nixosModules.home-manager home-manager-config | ||||||
|           { |  | ||||||
|             home-manager.useGlobalPkgs = true; |  | ||||||
|             home-manager.useUserPackages = true; |  | ||||||
|             home-manager.backupFileExtension = "backup"; |  | ||||||
|             home-manager.extraSpecialArgs = {inherit inputs;}; |  | ||||||
|           } |  | ||||||
|           ./hosts/defiant/disko-config.nix |           ./hosts/defiant/disko-config.nix | ||||||
|           ./hosts/defiant/configuration.nix |           ./hosts/defiant/configuration.nix | ||||||
|         ]; |         ]; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue