nixos/systemd: Don't use apply for $PATH
When not using apply, other modules can use $PATH as a list instead of getting a colon-separated list to each /bin directory.
This commit is contained in:
@@ -234,7 +234,6 @@ in rec {
|
||||
path = mkOption {
|
||||
default = [];
|
||||
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>
|
||||
environment variable. Both the <filename>bin</filename>
|
||||
|
||||
Reference in New Issue
Block a user