Merge pull request #108380 from Patryk27/fixes/lxd-cgroup-v2
nixos/lxd: disable cgroup v2 when LXD is active
commit58514b34283712c751278f6fd133f88ffced7135
authorSandro <sandro.jaeckel@gmail.com>
dateFri 8 Jan 2021, 00:23 (6 years ago)
parent594ba1530ccbe8
nixos/modules/virtualisation/lxd.nix+4
@@ -100,6 +100,10 @@ in
100100 packages = [ cfg.lxcPackage ];
101101 };
102102
103+ # TODO: remove once LXD gets proper support for cgroupsv2
104+ # (currently most of the e.g. CPU accounting stuff doesn't work)
105+ systemd.enableUnifiedCgroupHierarchy = false;
106+
103107 systemd.services.lxd = {
104108 description = "LXD Container Management Daemon";
105109