diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-11-10 13:37:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 13:37:43 +0100 |
commit | 0a00b332cd1a579a55e647504b53d33abb015816 (patch) | |
tree | 62e2dba28ac0d8e6b81208787c9e0714a90ae6c7 /nixos/modules/virtualisation | |
parent | 75025ad5e1c991f13c47dd283d69ae852b38e2a2 (diff) | |
parent | 12508ac79a3b940d42580e9cfb7d2037e7af3b00 (diff) |
Merge pull request #198526 from farnoy/nixos-container-unified-cgroups
[nixos-container] Make nixos containers use unified cgroupsv2
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/nixos-containers.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/nixos-containers.nix b/nixos/modules/virtualisation/nixos-containers.nix index fae7c57680521..02414b7d60e99 100644 --- a/nixos/modules/virtualisation/nixos-containers.nix +++ b/nixos/modules/virtualisation/nixos-containers.nix @@ -138,6 +138,8 @@ let fi ''} + export SYSTEMD_NSPAWN_UNIFIED_HIERARCHY=1 + # Run systemd-nspawn without startup notification (we'll # wait for the container systemd to signal readiness) # Kill signal handling means systemd-nspawn will pass a system-halt signal |