diff options
author | Florian Klink <flokli@flokli.de> | 2022-09-13 11:26:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-13 11:26:07 +0200 |
commit | a81b6401f6b5503d26918f062d010619f4059032 (patch) | |
tree | 1b5cb80d6987cf52b08e3a926a7c82509f9ab4f1 /nixos | |
parent | 398cb29dc007166597ea586d1c57670e144c06ac (diff) | |
parent | 19686a44521f06a065fad86d9040c3f4864cf20c (diff) |
Merge pull request #191032 from yu-re-ka/systemd-nixos-utmp
nixos/systemd: conditionally include systemd-update-utmp upstream unit
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/systemd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 35280ee073666..bcdc88ff63df0 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" |