Add agenix to all nodes
This commit is contained in:
		
							parent
							
								
									d2860ce437
								
							
						
					
					
						commit
						e7aa2d3fe3
					
				
							
								
								
									
										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 = [ | ||||
|     ./agenix.nix | ||||
|     ./boot.nix | ||||
|     ./fs.nix | ||||
|     ./hw.nix | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| { config, pkgs, agenix, ... }: | ||||
| { config, pkgs, ... }: | ||||
| 
 | ||||
| { | ||||
|   imports = [ | ||||
| @ -10,11 +10,6 @@ | ||||
|     ./nfs.nix | ||||
|     ./slurm-daemon.nix | ||||
|     #./pxe.nix | ||||
|     agenix.nixosModules.default | ||||
|   ]; | ||||
| 
 | ||||
|   environment.systemPackages = [ | ||||
|     agenix.packages.x86_64-linux.default | ||||
|   ]; | ||||
| 
 | ||||
|   boot.binfmt.emulatedSystems = [ "aarch64-linux" "powerpc64le-linux" "riscv64-linux" ]; | ||||
|  | ||||
| @ -1,9 +1,7 @@ | ||||
| { config, pkgs, agenix, ... }: | ||||
| { config, pkgs, ... }: | ||||
| 
 | ||||
| # Mounts the /ceph filesystem at boot | ||||
| { | ||||
|   imports = [ agenix.nixosModules.default ]; | ||||
| 
 | ||||
|   environment.systemPackages = with pkgs; [ | ||||
|     ceph | ||||
|     ceph-client | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user