nixos-container: force systemd-nspawn to use unified cgroups hierarchy

This commit is contained in:
Jakub Okoński
2022-10-29 22:22:57 +02:00
parent b0bce6ae73
commit 12508ac79a
4 changed files with 25 additions and 0 deletions

View File

@@ -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