diff options
Diffstat (limited to 'modules/environment/default.nix')
| -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" |
