diff options
author | Florian Klink <flokli@flokli.de> | 2020-06-18 23:50:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-18 23:50:42 +0200 |
commit | c1e7366483ea745f329cf50a626909e17da55538 (patch) | |
tree | 6861e3049a9dd639477cd7a03e6736b02e394159 /nixos | |
parent | 8b2d48ea0a97ad718414165a7a53bd627ed0c9e3 (diff) | |
parent | 35f7d38a3ba416a7327d84cbfedd84c1e09baaea (diff) |
Merge pull request #75510 from helsinki-systems/systemd-path-type
nixos/systemd: Use a proper type for unit paths
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/systemd-unit-options.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd-unit-options.nix b/nixos/modules/system/boot/systemd-unit-options.nix index bee21f1a8f363..62398f27d0887 100644 --- a/nixos/modules/system/boot/systemd-unit-options.nix +++ b/nixos/modules/system/boot/systemd-unit-options.nix @@ -233,6 +233,7 @@ in rec { path = mkOption { default = []; + type = with types; listOf package; apply = ps: "${makeBinPath ps}:${makeSearchPathOutput "bin" "sbin" ps}"; description = '' Packages added to the service's <envar>PATH</envar> |