We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce8b017 + c2d4e8f commit 86f44b0Copy full SHA for 86f44b0
nixos/modules/virtualisation/nixos-containers.nix
@@ -178,7 +178,6 @@ let
178
exec ${config.systemd.package}/bin/systemd-nspawn \
179
--keep-unit \
180
-M "$INSTANCE" -D "$root" "''${extraFlags[@]}" \
181
- $EXTRA_NSPAWN_FLAGS \
182
--notify-ready=yes \
183
--kill-signal=SIGRTMIN+3 \
184
--bind-ro=/nix/store:/nix/store$NIX_BIND_OPT \
@@ -203,6 +202,7 @@ let
203
202
${optionalString (cfg.tmpfs != null && cfg.tmpfs != [])
204
''--tmpfs=${concatStringsSep " --tmpfs=" cfg.tmpfs}''
205
} \
+ $EXTRA_NSPAWN_FLAGS \
206
${containerInit cfg} "''${SYSTEM_PATH:-/nix/var/nix/profiles/system}/init"
207
'';
208
0 commit comments