nixos/systemd: conditionally include systemd-update-utmp upstream unit

This commit is contained in:
Yureka 2022-09-13 10:34:28 +02:00
parent 4817865887
commit 19686a4452

View file

@ -121,7 +121,7 @@ let
"final.target"
"kexec.target"
"systemd-kexec.service"
"systemd-update-utmp.service"
] ++ lib.optional (cfg.package.withUtmp or true) "systemd-update-utmp.service" ++ [
# Password entry.
"systemd-ask-password-console.path"