nixos/systemd: make systemd-nspawn@.service optional (#468325)

This commit is contained in:
Will Fancher
2025-12-07 03:10:24 +00:00
committed by GitHub
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -181,9 +181,10 @@ let
"machines.target"
"systemd-machined.service"
]
++ [
++ optionals cfg.package.withNspawn [
"systemd-nspawn@.service"
]
++ [
# Misc.
"systemd-sysctl.service"
"systemd-machine-id-commit.service"
@@ -898,6 +898,7 @@ stdenv.mkDerivation (finalAttrs: {
withLocaled
withMachined
withNetworkd
withNspawn
withPortabled
withSysupdate
withTimedated