summary refs log tree commit diff
path: root/nixos/modules/system/boot/systemd-unit-options.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-06-18 23:50:42 +0200
committerGitHub <noreply@github.com>2020-06-18 23:50:42 +0200
commitc1e7366483ea745f329cf50a626909e17da55538 (patch)
tree6861e3049a9dd639477cd7a03e6736b02e394159 /nixos/modules/system/boot/systemd-unit-options.nix
parent8b2d48ea0a97ad718414165a7a53bd627ed0c9e3 (diff)
parent35f7d38a3ba416a7327d84cbfedd84c1e09baaea (diff)
downloadnixpkgs-c1e7366483ea745f329cf50a626909e17da55538.tar
nixpkgs-c1e7366483ea745f329cf50a626909e17da55538.tar.gz
nixpkgs-c1e7366483ea745f329cf50a626909e17da55538.tar.bz2
nixpkgs-c1e7366483ea745f329cf50a626909e17da55538.tar.lz
nixpkgs-c1e7366483ea745f329cf50a626909e17da55538.tar.xz
nixpkgs-c1e7366483ea745f329cf50a626909e17da55538.tar.zst
nixpkgs-c1e7366483ea745f329cf50a626909e17da55538.zip
Merge pull request #75510 from helsinki-systems/systemd-path-type
nixos/systemd: Use a proper type for unit paths
Diffstat (limited to 'nixos/modules/system/boot/systemd-unit-options.nix')
-rw-r--r--nixos/modules/system/boot/systemd-unit-options.nix1
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 bee21f1a8f3..62398f27d08 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>