From ee81fdfa5661a73b47eba5f9357eda83acf2a199 Mon Sep 17 00:00:00 2001 From: Arian van Putten Date: Wed, 31 Jul 2024 11:47:46 +0200 Subject: [PATCH] nixos/lxd: use unified cgroup hierachy --- nixos/modules/virtualisation/lxd.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nixos/modules/virtualisation/lxd.nix b/nixos/modules/virtualisation/lxd.nix index 4c94b3dfe946..895662b0f414 100644 --- a/nixos/modules/virtualisation/lxd.nix +++ b/nixos/modules/virtualisation/lxd.nix @@ -166,10 +166,6 @@ in { }; }; - # 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.sockets.lxd = { description = "LXD UNIX socket"; wantedBy = [ "sockets.target" ];