summary refs log tree commit diff
path: root/nixos/modules/system/boot/systemd.nix
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/boot/systemd.nix
parentf8cc46e4930efdad1e06e251330fbd7064b52ab5 (diff)
downloadnixpkgs-03b6d5111ac6743a0c3d30769f021198d29dff88.tar
nixpkgs-03b6d5111ac6743a0c3d30769f021198d29dff88.tar.gz
nixpkgs-03b6d5111ac6743a0c3d30769f021198d29dff88.tar.bz2
nixpkgs-03b6d5111ac6743a0c3d30769f021198d29dff88.tar.lz
nixpkgs-03b6d5111ac6743a0c3d30769f021198d29dff88.tar.xz
nixpkgs-03b6d5111ac6743a0c3d30769f021198d29dff88.tar.zst
nixpkgs-03b6d5111ac6743a0c3d30769f021198d29dff88.zip
nixos/systemd: remove not required or true
Diffstat (limited to 'nixos/modules/system/boot/systemd.nix')
-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 bcdc88ff63d..a3bff27626d 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"