summary refs log tree commit diff
path: root/nixos/modules/system/boot/systemd-unit-options.nix
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2019-07-15 20:28:26 +0800
committerPeter Hoeg <peter@hoeg.com>2019-07-15 20:28:26 +0800
commiteb55dd5e6bbb1514a0ad534040845d9450df18a5 (patch)
tree1c330bd8da8b3ae28316618ef999bf116657d369 /nixos/modules/system/boot/systemd-unit-options.nix
parent1036dc664169b32613ec11b58cc1740c7511a340 (diff)
downloadnixpkgs-eb55dd5e6bbb1514a0ad534040845d9450df18a5.tar
nixpkgs-eb55dd5e6bbb1514a0ad534040845d9450df18a5.tar.gz
nixpkgs-eb55dd5e6bbb1514a0ad534040845d9450df18a5.tar.bz2
nixpkgs-eb55dd5e6bbb1514a0ad534040845d9450df18a5.tar.lz
nixpkgs-eb55dd5e6bbb1514a0ad534040845d9450df18a5.tar.xz
nixpkgs-eb55dd5e6bbb1514a0ad534040845d9450df18a5.tar.zst
nixpkgs-eb55dd5e6bbb1514a0ad534040845d9450df18a5.zip
nixos/systemd: 242 supports Type = exec
Diffstat (limited to 'nixos/modules/system/boot/systemd-unit-options.nix')
-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"