nixos/systemd: make systemd-nspawn@.service optional (#468325)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user