diff options
author | Florian Klink <flokli@flokli.de> | 2020-06-19 00:25:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 00:25:32 +0200 |
commit | 757ba1931f500b313b33ce0b753294ec9055e7cf (patch) | |
tree | 2e9ab4c0f8406805bdf66b5279113bff071a33c9 /nixos | |
parent | 79e8ba79ad151cb1d292773a3a2a687fd304b7ee (diff) | |
parent | 1c9e02b9116836f1f070e64b5fbf1a089e812af3 (diff) |
Merge pull request #91068 from flokli/nixos-systemd-unit-path-types
nixos/systemd: allow str in systemd.services.<name>.path
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/systemd-unit-options.nix | 2 |
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 62398f27d0887..c6dbb96951ae0 100644 --- a/nixos/modules/system/boot/systemd-unit-options.nix +++ b/nixos/modules/system/boot/systemd-unit-options.nix @@ -233,7 +233,7 @@ in rec { path = mkOption { default = []; - type = with types; listOf package; + type = with types; listOf (oneOf [ package str ]); apply = ps: "${makeBinPath ps}:${makeSearchPathOutput "bin" "sbin" ps}"; description = '' Packages added to the service's <envar>PATH</envar> |