diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index bcdc88ff63df..a3bff27626d8 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -121,7 +121,7 @@ let "final.target" "kexec.target" "systemd-kexec.service" - ] ++ lib.optional (cfg.package.withUtmp or true) "systemd-update-utmp.service" ++ [ + ] ++ lib.optional cfg.package.withUtmp "systemd-update-utmp.service" ++ [ # Password entry. "systemd-ask-password-console.path"