forked from jan-leila/nix-config
		
	initialized flake
This commit is contained in:
		
						commit
						8ef437334f
					
				
					 9 changed files with 512 additions and 0 deletions
				
			
		
							
								
								
									
										32
									
								
								flake.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								flake.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,32 @@ | |||
| { | ||||
|   description = "Nixos config flake"; | ||||
| 
 | ||||
|   inputs = { | ||||
|     nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11"; | ||||
| 
 | ||||
|     sops-nix.url = "github:Mic92/sops-nix"; | ||||
| 
 | ||||
|     home-manager = { | ||||
|       url = "github:nix-community/home-manager"; | ||||
|       inputs.nixpkgs.follows = "nixpkgs"; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   outputs = { self, nixpkgs, ... }@inputs: | ||||
|     let | ||||
|       system = "x86_64-linux"; | ||||
|       pkgs = nixpkgs.legacyPackages.${system}; | ||||
|     in | ||||
|     { | ||||
|      | ||||
|       nixosConfigurations = { | ||||
|         horizon = nixpkgs.lib.nixosSystem { | ||||
|           specialArgs = {inherit inputs;}; | ||||
|           modules = [  | ||||
|             ./hosts/horizon/configuration.nix | ||||
|             inputs.home-manager.nixosModules.default | ||||
|           ]; | ||||
|         }; | ||||
|       }; | ||||
|     }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue