flake: add system to home-manager arguments
This commit is contained in:
		
							parent
							
								
									1ffa293354
								
							
						
					
					
						commit
						21a44c285c
					
				
							
								
								
									
										13
									
								
								flake.nix
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								flake.nix
									
									
									
									
									
								
							| @ -72,7 +72,7 @@ | |||||||
|     pkgs = nixpkgs.legacyPackages.x86_64-linux.pkgs; |     pkgs = nixpkgs.legacyPackages.x86_64-linux.pkgs; | ||||||
|   in { |   in { | ||||||
|     nixosConfigurations = rec { |     nixosConfigurations = rec { | ||||||
|       nixy = nixpkgs.lib.nixosSystem { |       nixy = nixpkgs.lib.nixosSystem rec { | ||||||
|         system = "x86_64-linux"; |         system = "x86_64-linux"; | ||||||
|         modules = [ |         modules = [ | ||||||
|           {_module.args = inputs;} |           {_module.args = inputs;} | ||||||
| @ -87,7 +87,7 @@ | |||||||
|             home-manager.useGlobalPkgs = true; |             home-manager.useGlobalPkgs = true; | ||||||
|             home-manager.useUserPackages = true; |             home-manager.useUserPackages = true; | ||||||
|             home-manager.users.akill = import ./home/home.nix; |             home-manager.users.akill = import ./home/home.nix; | ||||||
|             home-manager.extraSpecialArgs = {inherit inputs;}; |             home-manager.extraSpecialArgs = {inherit inputs system;}; | ||||||
|           } |           } | ||||||
|           peerix.nixosModules.peerix |           peerix.nixosModules.peerix | ||||||
|           { |           { | ||||||
| @ -104,7 +104,7 @@ | |||||||
|         ]; |         ]; | ||||||
|       }; |       }; | ||||||
| 
 | 
 | ||||||
|       mediabox = nixpkgs.lib.nixosSystem { |       mediabox = nixpkgs.lib.nixosSystem rec { | ||||||
|         system = "x86_64-linux"; |         system = "x86_64-linux"; | ||||||
|         modules = [ |         modules = [ | ||||||
|           {_module.args = inputs;} |           {_module.args = inputs;} | ||||||
| @ -120,7 +120,7 @@ | |||||||
|             home-manager.useGlobalPkgs = true; |             home-manager.useGlobalPkgs = true; | ||||||
|             home-manager.useUserPackages = true; |             home-manager.useUserPackages = true; | ||||||
|             home-manager.users.akill = import ./home/home.nix; |             home-manager.users.akill = import ./home/home.nix; | ||||||
|             home-manager.extraSpecialArgs = {inherit inputs;}; |             home-manager.extraSpecialArgs = {inherit inputs system;}; | ||||||
|           } |           } | ||||||
|           peerix.nixosModules.peerix |           peerix.nixosModules.peerix | ||||||
|           { |           { | ||||||
| @ -137,7 +137,7 @@ | |||||||
|         ]; |         ]; | ||||||
|       }; |       }; | ||||||
| 
 | 
 | ||||||
|       blue = nixpkgs.lib.nixosSystem { |       blue = nixpkgs.lib.nixosSystem rec { | ||||||
|         system = "x86_64-linux"; |         system = "x86_64-linux"; | ||||||
|         modules = [ |         modules = [ | ||||||
|           {_module.args = inputs;} |           {_module.args = inputs;} | ||||||
| @ -150,10 +150,11 @@ | |||||||
|             home-manager.useGlobalPkgs = true; |             home-manager.useGlobalPkgs = true; | ||||||
|             home-manager.useUserPackages = true; |             home-manager.useUserPackages = true; | ||||||
|             home-manager.users.akill = import ./home/home.nix; |             home-manager.users.akill = import ./home/home.nix; | ||||||
|  |             home-manager.extraSpecialArgs = {inherit inputs system;}; | ||||||
|           } |           } | ||||||
|         ]; |         ]; | ||||||
|       }; |       }; | ||||||
|       magpie = nixpkgs.lib.nixosSystem { |       magpie = nixpkgs.lib.nixosSystem rec { | ||||||
|         system = "arm64-linux"; |         system = "arm64-linux"; | ||||||
|         modules = [ |         modules = [ | ||||||
|           {_module.args = inputs;} |           {_module.args = inputs;} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user