about summary refs log tree commit diff
path: root/nixos/lib
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2024-02-14 17:52:13 +0100
committerSilvan Mosberger <silvan.mosberger@tweag.io>2024-02-14 17:52:13 +0100
commit1cd71881f26f6b52b921933a4f09ffdf68db0716 (patch)
treeb7fa700de66d522526638fd2d80c1dcc19dcb846 /nixos/lib
parentf9d39fb9aff0efee4a3d5f4a6d7c17701d38a1d8 (diff)
nixos/systemd: Support notify-reload service Type
Support for this was added in systemd 253:
https://github.com/systemd/systemd/releases/tag/v253
Diffstat (limited to 'nixos/lib')
-rw-r--r--nixos/lib/systemd-unit-options.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/lib/systemd-unit-options.nix b/nixos/lib/systemd-unit-options.nix
index df05d165d9e85..bc7880da9fe0e 100644
--- a/nixos/lib/systemd-unit-options.nix
+++ b/nixos/lib/systemd-unit-options.nix
@@ -6,7 +6,7 @@ with lib;
 let
   checkService = checkUnitConfig "Service" [
     (assertValueOneOf "Type" [
-      "exec" "simple" "forking" "oneshot" "dbus" "notify" "idle"
+      "exec" "simple" "forking" "oneshot" "dbus" "notify" "notify-reload" "idle"
     ])
     (assertValueOneOf "Restart" [
       "no" "on-success" "on-failure" "on-abnormal" "on-abort" "always"