nixos/lxd: disable cgroup v2 when LXD is active
This commit is contained in:
parent
174267e601
commit
30ccbe8eec
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue