diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2017-05-14 00:03:49 +0200 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2017-05-14 00:12:20 +0200 |
| commit | a4eb645d0da4ce4743d86e1cfad7f7deb94de52c (patch) | |
| tree | 591a43336f25536816875db124f625926b460583 /modules/environment | |
| parent | e9cf7650763322f484141ab7a46fc3dbb0b26d1a (diff) | |
launchd: allow string entries for serviceOptions.path
Fixes evaluation of khd.
Diffstat (limited to 'modules/environment')
| -rw-r--r-- | modules/environment/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/environment/default.nix b/modules/environment/default.nix index 80dc394..f982b25 100644 --- a/modules/environment/default.nix +++ b/modules/environment/default.nix @@ -32,8 +32,7 @@ in { }; environment.systemPath = mkOption { - type = types.loeOf types.path; - default = cfg.profiles ++ [ "/usr/local" "/usr" "" ]; + type = types.loeOf types.str; description = "The set of paths that are added to PATH."; apply = x: if isList x then makeBinPath x else x; }; @@ -113,6 +112,8 @@ in { config = { + environment.systemPath = cfg.profiles ++ [ "/usr/local" "/usr" "" ]; + environment.profiles = [ # Use user, default and system profiles. "$HOME/.nix-profile" |
