about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-08-13 15:06:09 -0400
committerGitHub <noreply@github.com>2019-08-13 15:06:09 -0400
commit329e097828de876410d2f82f23126115fcfc28dd (patch)
tree74bbe3b9aeb2f8905ceaf3d701ae04f3cb1e7e31 /nixos/modules/programs
parenta5b77b8cae4d47c53de0fdac8ace8775c09cd7bb (diff)
parent33c834f2fb2c25f2351cd0ae9b8cc361e033141b (diff)
downloadnixlib-329e097828de876410d2f82f23126115fcfc28dd.tar
nixlib-329e097828de876410d2f82f23126115fcfc28dd.tar.gz
nixlib-329e097828de876410d2f82f23126115fcfc28dd.tar.bz2
nixlib-329e097828de876410d2f82f23126115fcfc28dd.tar.lz
nixlib-329e097828de876410d2f82f23126115fcfc28dd.tar.xz
nixlib-329e097828de876410d2f82f23126115fcfc28dd.tar.zst
nixlib-329e097828de876410d2f82f23126115fcfc28dd.zip
Merge pull request #66425 from Gerschtli/fix/path-order
environment.profiles: fix order of profiles and PATH
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/environment.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/programs/environment.nix b/nixos/modules/programs/environment.nix
index 3c6d356ef998..4d762314298d 100644
--- a/nixos/modules/programs/environment.nix
+++ b/nixos/modules/programs/environment.nix
@@ -23,9 +23,8 @@ in
         XCURSOR_PATH = [ "$HOME/.icons" ];
       };
 
-    environment.profiles =
-      [ "$HOME/.nix-profile"
-        "/nix/var/nix/profiles/default"
+    environment.profiles = mkAfter
+      [ "/nix/var/nix/profiles/default"
         "/run/current-system/sw"
       ];