diff --git a/systems/mc4/configuration.nix b/systems/mc4/configuration.nix index 39b07b9..9eff9bc 100644 --- a/systems/mc4/configuration.nix +++ b/systems/mc4/configuration.nix @@ -13,6 +13,22 @@ ./modules/rclone.nix ]; + services.ceph = { + enable = true; + global.fsid = "be1051e6-ee13-44d6-a9a1-96cc36300e13"; + #global.monHost = "10.0.69.234"; + global.monInitialMembers = "mc4"; + mds.enable = true; + mds.daemons = [ "mc4"]; + mon.enable = true; + mon.daemons = [ "mc4" ]; + #osd.enable = true; + #osd.daemons = [ "0" ]; + }; + + services.ceph.client.enable = true; + environment.systemPackages = [ pkgs.ceph ]; + system.stateVersion = "21.05"; }