flake: some agenix fixes
This commit is contained in:
		
							parent
							
								
									4c48cd18b6
								
							
						
					
					
						commit
						807070c755
					
				| @ -44,7 +44,7 @@ | |||||||
|       nixosConfigurations = (                                               # NixOS configurations |       nixosConfigurations = (                                               # NixOS configurations | ||||||
|         import ./hosts {                                                    # Imports ./hosts/default.nix |         import ./hosts {                                                    # Imports ./hosts/default.nix | ||||||
|           inherit (nixpkgs) lib; |           inherit (nixpkgs) lib; | ||||||
|           inherit inputs nixpkgs nixpkgs-stable nixos-hardware home-manager nur user location hyprland;   # Also inherit home-manager so it does not need to be defined here. |           inherit inputs nixpkgs nixpkgs-stable nixos-hardware home-manager nur user location hyprland agenix;   # Also inherit home-manager so it does not need to be defined here. | ||||||
|         } |         } | ||||||
|       ); |       ); | ||||||
|     }; |     }; | ||||||
|  | |||||||
| @ -11,7 +11,7 @@ | |||||||
| #            └─ ./home.nix  | #            └─ ./home.nix  | ||||||
| # | # | ||||||
| 
 | 
 | ||||||
| { lib, inputs, nixpkgs, nixos-hardware, home-manager, nur, user, location, hyprland, ... }: | { lib, inputs, nixpkgs, nixos-hardware, home-manager, nur, user, location, hyprland, agenix, ... }: | ||||||
| 
 | 
 | ||||||
| let | let | ||||||
|   system = "x86_64-linux";                                  # System architecture |   system = "x86_64-linux";                                  # System architecture | ||||||
| @ -27,7 +27,7 @@ in | |||||||
| { | { | ||||||
|   desktop = lib.nixosSystem {                                # Desktop profile |   desktop = lib.nixosSystem {                                # Desktop profile | ||||||
|     inherit system; |     inherit system; | ||||||
|     specialArgs = { inherit inputs user location hyprland nixos-hardware nur; }; |     specialArgs = { inherit inputs user location hyprland nixos-hardware nur agenix; }; | ||||||
|     modules = [ |     modules = [ | ||||||
|       agenix.nixosModules.age |       agenix.nixosModules.age | ||||||
|       nur.nixosModules.nur |       nur.nixosModules.nur | ||||||
| @ -55,7 +55,7 @@ in | |||||||
| 
 | 
 | ||||||
|   laptop = lib.nixosSystem {                                # Laptop profile |   laptop = lib.nixosSystem {                                # Laptop profile | ||||||
|     inherit system; |     inherit system; | ||||||
|     specialArgs = { inherit inputs user location hyprland nixos-hardware nur; }; |     specialArgs = { inherit inputs user location hyprland nixos-hardware nur agenix; }; | ||||||
|     modules = [ |     modules = [ | ||||||
|       agenix.nixosModules.age |       agenix.nixosModules.age | ||||||
|       nur.nixosModules.nur |       nur.nixosModules.nur | ||||||
| @ -83,7 +83,7 @@ in | |||||||
|   dmz = lib.nixosSystem {                                # Desktop profile |   dmz = lib.nixosSystem {                                # Desktop profile | ||||||
|     inherit system; |     inherit system; | ||||||
|     #user = "dmz-user"; |     #user = "dmz-user"; | ||||||
|     specialArgs = { inherit inputs user location nixos-hardware nur; }; |     specialArgs = { inherit inputs user location nixos-hardware nur agenix; }; | ||||||
|     modules = [ |     modules = [ | ||||||
|       agenix.nixosModules.age |       agenix.nixosModules.age | ||||||
|       nur.nixosModules.nur |       nur.nixosModules.nur | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user