mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +03:00
nixos/systemd: Use a proper type for unit paths
This commit is contained in:
parent
165dca726a
commit
35f7d38a3b
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ in rec {
|
||||||
|
|
||||||
path = mkOption {
|
path = mkOption {
|
||||||
default = [];
|
default = [];
|
||||||
|
type = with types; listOf package;
|
||||||
apply = ps: "${makeBinPath ps}:${makeSearchPathOutput "bin" "sbin" ps}";
|
apply = ps: "${makeBinPath ps}:${makeSearchPathOutput "bin" "sbin" ps}";
|
||||||
description = ''
|
description = ''
|
||||||
Packages added to the service's <envar>PATH</envar>
|
Packages added to the service's <envar>PATH</envar>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue