Add agenix to all nodes
This commit is contained in:
		
							parent
							
								
									2042d58b72
								
							
						
					
					
						commit
						68f4d54dd1
					
				
							
								
								
									
										9
									
								
								m/common/agenix.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								m/common/agenix.nix
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,9 @@ | |||||||
|  | { agenix, ... }: | ||||||
|  | 
 | ||||||
|  | { | ||||||
|  |   imports = [ agenix.nixosModules.default ]; | ||||||
|  | 
 | ||||||
|  |   environment.systemPackages = [ | ||||||
|  |     agenix.packages.x86_64-linux.default | ||||||
|  |   ]; | ||||||
|  | } | ||||||
| @ -2,6 +2,7 @@ | |||||||
| 
 | 
 | ||||||
| { | { | ||||||
|   imports = [ |   imports = [ | ||||||
|  |     ./agenix.nix | ||||||
|     ./boot.nix |     ./boot.nix | ||||||
|     ./fs.nix |     ./fs.nix | ||||||
|     ./hw.nix |     ./hw.nix | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| { config, pkgs, agenix, ... }: | { config, pkgs, ... }: | ||||||
| 
 | 
 | ||||||
| { | { | ||||||
|   imports = [ |   imports = [ | ||||||
| @ -10,11 +10,6 @@ | |||||||
|     ./nfs.nix |     ./nfs.nix | ||||||
|     ./slurm-daemon.nix |     ./slurm-daemon.nix | ||||||
|     #./pxe.nix |     #./pxe.nix | ||||||
|     agenix.nixosModules.default |  | ||||||
|   ]; |  | ||||||
| 
 |  | ||||||
|   environment.systemPackages = [ |  | ||||||
|     agenix.packages.x86_64-linux.default |  | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|   boot.binfmt.emulatedSystems = [ "aarch64-linux" "powerpc64le-linux" "riscv64-linux" ]; |   boot.binfmt.emulatedSystems = [ "aarch64-linux" "powerpc64le-linux" "riscv64-linux" ]; | ||||||
|  | |||||||
| @ -1,9 +1,7 @@ | |||||||
| { config, pkgs, agenix, ... }: | { config, pkgs, ... }: | ||||||
| 
 | 
 | ||||||
| # Mounts the /ceph filesystem at boot | # Mounts the /ceph filesystem at boot | ||||||
| { | { | ||||||
|   imports = [ agenix.nixosModules.default ]; |  | ||||||
| 
 |  | ||||||
|   environment.systemPackages = with pkgs; [ |   environment.systemPackages = with pkgs; [ | ||||||
|     ceph |     ceph | ||||||
|     ceph-client |     ceph-client | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user