nixos/lxd: disable cgroup v2 when LXD is active

This commit is contained in:
Patryk Wychowaniec
2021-01-04 10:59:19 +01:00
parent 174267e601
commit 30ccbe8eec

View File

@@ -100,6 +100,10 @@ in
packages = [ cfg.lxcPackage ];
};
# TODO: remove once LXD gets proper support for cgroupsv2
# (currently most of the e.g. CPU accounting stuff doesn't work)
systemd.enableUnifiedCgroupHierarchy = false;
systemd.services.lxd = {
description = "LXD Container Management Daemon";