From 19686a44521f06a065fad86d9040c3f4864cf20c Mon Sep 17 00:00:00 2001 From: Yureka Date: Tue, 13 Sep 2022 10:34:28 +0200 Subject: nixos/systemd: conditionally include systemd-update-utmp upstream unit --- nixos/modules/system/boot/systemd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/system/boot/systemd.nix') diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 35280ee0736..bcdc88ff63d 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" - "systemd-update-utmp.service" + ] ++ lib.optional (cfg.package.withUtmp or true) "systemd-update-utmp.service" ++ [ # Password entry. "systemd-ask-password-console.path" -- cgit 1.4.1