forked from jan-leila/nix-config
		
	simplified flake.nix
This commit is contained in:
		
							parent
							
								
									a625779b78
								
							
						
					
					
						commit
						e728268b9b
					
				
					 2 changed files with 16 additions and 20 deletions
				
			
		
							
								
								
									
										20
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										20
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							|  | @ -144,22 +144,6 @@ | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "nixpkgs_2": { |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1725534445, |  | ||||||
|         "narHash": "sha256-Yd0FK9SkWy+ZPuNqUgmVPXokxDgMJoGuNpMEtkfcf84=", |  | ||||||
|         "owner": "NixOS", |  | ||||||
|         "repo": "nixpkgs", |  | ||||||
|         "rev": "9bb1e7571aadf31ddb4af77fc64b2d59580f9a39", |  | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "NixOS", |  | ||||||
|         "ref": "nixpkgs-unstable", |  | ||||||
|         "repo": "nixpkgs", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "root": { |     "root": { | ||||||
|       "inputs": { |       "inputs": { | ||||||
|         "disko": "disko", |         "disko": "disko", | ||||||
|  | @ -190,7 +174,9 @@ | ||||||
|     }, |     }, | ||||||
|     "sops-nix": { |     "sops-nix": { | ||||||
|       "inputs": { |       "inputs": { | ||||||
|         "nixpkgs": "nixpkgs_2", |         "nixpkgs": [ | ||||||
|  |           "nixpkgs" | ||||||
|  |         ], | ||||||
|         "nixpkgs-stable": "nixpkgs-stable" |         "nixpkgs-stable": "nixpkgs-stable" | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|  |  | ||||||
							
								
								
									
										16
									
								
								flake.nix
									
										
									
									
									
								
							
							
						
						
									
										16
									
								
								flake.nix
									
										
									
									
									
								
							|  | @ -6,7 +6,10 @@ | ||||||
|     nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; |     nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; | ||||||
| 
 | 
 | ||||||
|     # secret encryption |     # secret encryption | ||||||
|     sops-nix.url = "github:Mic92/sops-nix"; |     sops-nix = { | ||||||
|  |       url = "github:Mic92/sops-nix"; | ||||||
|  |       inputs.nixpkgs.follows = "nixpkgs"; | ||||||
|  |     }; | ||||||
| 
 | 
 | ||||||
|     # self hosted repo of secrets file to further protect files in case of future encryption vunrabilities |     # self hosted repo of secrets file to further protect files in case of future encryption vunrabilities | ||||||
|     secrets = { |     secrets = { | ||||||
|  | @ -48,6 +51,7 @@ | ||||||
|     nixpkgs, |     nixpkgs, | ||||||
|     disko, |     disko, | ||||||
|     nixos-hardware, |     nixos-hardware, | ||||||
|  |     home-manager, | ||||||
|     ... |     ... | ||||||
|   } @ inputs: let |   } @ inputs: let | ||||||
|     forEachSystem = nixpkgs.lib.genAttrs [ |     forEachSystem = nixpkgs.lib.genAttrs [ | ||||||
|  | @ -66,8 +70,14 @@ | ||||||
|         specialArgs = {inherit inputs;}; |         specialArgs = {inherit inputs;}; | ||||||
|         modules = [ |         modules = [ | ||||||
|           ./hosts/horizon/configuration.nix |           ./hosts/horizon/configuration.nix | ||||||
|           inputs.home-manager.nixosModules.default |  | ||||||
|           nixos-hardware.nixosModules.framework-11th-gen-intel |           nixos-hardware.nixosModules.framework-11th-gen-intel | ||||||
|  |           home-manager.nixosModules.default | ||||||
|  |           # { | ||||||
|  |           #   home-manager.useGlobalPkgs = true; | ||||||
|  |           #   home-manager.useUserPackages = true; | ||||||
|  |           #   home-manager.extraSpecialArgs = { inherit inputs; }; | ||||||
|  |           #   home-manager.users = import ./users; | ||||||
|  |           # } | ||||||
|         ]; |         ]; | ||||||
|       }; |       }; | ||||||
|       # Leyla Desktop |       # Leyla Desktop | ||||||
|  | @ -75,7 +85,7 @@ | ||||||
|         specialArgs = {inherit inputs;}; |         specialArgs = {inherit inputs;}; | ||||||
|         modules = [ |         modules = [ | ||||||
|           ./hosts/twilight/configuration.nix |           ./hosts/twilight/configuration.nix | ||||||
|           inputs.home-manager.nixosModules.default |           home-manager.nixosModules.default | ||||||
|         ]; |         ]; | ||||||
|       }; |       }; | ||||||
|       # NAS Service |       # NAS Service | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue