aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2019-07-17 14:09:20 +0700
committerGitHub <noreply@github.com>2019-07-17 14:09:20 +0700
commitdb858b4d3032aec35be7e98a65eb9b91b63671ef (patch)
tree5c30d65f564853e842c35cd4e8121e2de5290544 /nixos/modules/system
parent8801fb7be6b55d256be0e04cf30192f2822298d1 (diff)
parenteb55dd5e6bbb1514a0ad534040845d9450df18a5 (diff)
Merge pull request #64806 from peterhoeg/f/exec
nixos/systemd: 242 supports Type = exec
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd-unit-options.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd-unit-options.nix b/nixos/modules/system/boot/systemd-unit-options.nix
index 63f974b704f..ee4ae845a7d 100644
--- a/nixos/modules/system/boot/systemd-unit-options.nix
+++ b/nixos/modules/system/boot/systemd-unit-options.nix
@@ -6,7 +6,7 @@ with import ./systemd-lib.nix { inherit config lib pkgs; };
let
checkService = checkUnitConfig "Service" [
(assertValueOneOf "Type" [
- "simple" "forking" "oneshot" "dbus" "notify" "idle"
+ "exec" "simple" "forking" "oneshot" "dbus" "notify" "idle"
])
(assertValueOneOf "Restart" [
"no" "on-success" "on-failure" "on-abnormal" "on-abort" "always"