ceph: add /var/lib/ceph mount

This commit is contained in:
Luke Granger-Brown 2021-03-14 14:35:36 +00:00
parent 22cb1575b4
commit b3def9be96

View file

@ -46,7 +46,12 @@ in {
device = "/dev/disk/by-label/boot"; device = "/dev/disk/by-label/boot";
fsType = "ext4"; fsType = "ext4";
}; };
} // (lib.optionalAttrs (config.services.ceph.osd.enable || config.services.ceph.mgr.enable || config.services.ceph.mon.enable || config.services.ceph.mgr.enable) {
"/var/lib/ceph" = {
device = "/dev/disk/by-label/var-lib-ceph";
fsType = "xfs";
}; };
});
boot.loader.grub.enable = true; boot.loader.grub.enable = true;
boot.loader.grub.version = 2; boot.loader.grub.version = 2;