Mount the ceph filesystem in hut
This commit is contained in:
parent
cd5853cf53
commit
8257c245b1
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
|
./monitoring.nix
|
||||||
./nfs.nix
|
./nfs.nix
|
||||||
./slurm-daemon.nix
|
./slurm-daemon.nix
|
||||||
|
./ceph.nix
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user