about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2022-09-20 12:45:00 +0200
committerGitHub <noreply@github.com>2022-09-20 12:45:00 +0200
commit40461db5c5e8bf7beca33f585acf4d7483284571 (patch)
tree0a47dc3ee2bdf230a844f2b14baade1723dec4d1 /nixos
parent41ac0bd371618db6dd67fd952cc5b3d6a9955a15 (diff)
parent03b6d5111ac6743a0c3d30769f021198d29dff88 (diff)
Merge pull request #191904 from SuperSandro2000/191032-cleanup
nixos/systemd: remove not required or true
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/systemd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index bcdc88ff63df0..a3bff27626d8f 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"