Mount the ceph filesystem in hut
This commit is contained in:
		
							parent
							
								
									479d63f842
								
							
						
					
					
						commit
						e320e9ced4
					
				
							
								
								
									
										14
									
								
								m/hut/ceph.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								m/hut/ceph.nix
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,14 @@ | ||||
| { pkgs, ... }: | ||||
| 
 | ||||
| { | ||||
|   environment.systemPackages = [ pkgs.ceph-client ]; | ||||
| 
 | ||||
|   # We need the ceph module loaded as the mount.ceph binary fails to run the | ||||
|   # modprobe command. | ||||
|   boot.kernelModules = [ "ceph" ]; | ||||
| 
 | ||||
|   fileSystems."/ceph" = { | ||||
|     fsType = "ceph"; | ||||
|     device = "animal@9c8d06e0-485f-4aaf-b16b-06d6daf1232b.cephfs=/"; | ||||
|   }; | ||||
| } | ||||
| @ -8,6 +8,7 @@ | ||||
|     ./monitoring.nix | ||||
|     ./nfs.nix | ||||
|     ./slurm-daemon.nix | ||||
|     ./ceph.nix | ||||
|     agenix.nixosModules.default | ||||
|   ]; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user