diff --git a/ops/nixos/lib/blade.nix b/ops/nixos/lib/blade.nix index e8208b67d9..4459f4eb39 100644 --- a/ops/nixos/lib/blade.nix +++ b/ops/nixos/lib/blade.nix @@ -165,6 +165,16 @@ in { mgr.daemons = [ config.networking.hostName ]; mgr.enable = config.services.ceph.mon.enable; rgw.enable = true; + client.enable = true; + client.extraConfig = { + "client.libvirt" = { + rbd_cache = "true"; + rbd_cache_policy = "writeback"; + rbd_cache_size = "2Gi"; + rbd_cache_max_dirty = "1792Mi"; + rbd_cache_target_dirty = "128Mi"; + }; + }; }; systemd.services.ceph-osd-lvm-activate = lib.mkIf config.services.ceph.osd.enable { enable = true;