nixos/systemd: Use a proper type for unit paths

This commit is contained in:
Janne Heß 2019-12-11 15:43:17 +01:00
parent 165dca726a
commit 35f7d38a3b

View file

@ -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>