about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@sap.com>2022-09-19 13:45:01 +0200
committerSandro Jäckel <sandro.jaeckel@sap.com>2022-09-19 13:45:01 +0200
commit03b6d5111ac6743a0c3d30769f021198d29dff88 (patch)
treeb11b490b59ee6c0538a83f15a68b53e53238969f /nixos/modules/system
parentf8cc46e4930efdad1e06e251330fbd7064b52ab5 (diff)
nixos/systemd: remove not required or true
Diffstat (limited to 'nixos/modules/system')
-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"