Mount the ceph filesystem in hut

This commit is contained in:
Rodrigo Arias 2023-08-22 15:57:49 +02:00
parent cd5853cf53
commit 8257c245b1
2 changed files with 15 additions and 0 deletions

14
m/hut/ceph.nix Normal file
View 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=/";
};
}

View File

@ -8,6 +8,7 @@
./monitoring.nix
./nfs.nix
./slurm-daemon.nix
./ceph.nix
agenix.nixosModules.default
];