about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMasum Reza <50095635+JohnRTitor@users.noreply.github.com>2024-06-23 19:49:48 +0530
committerGitHub <noreply@github.com>2024-06-23 19:49:48 +0530
commitbe54c7d931a68ba6a79f097ce979288e90a74288 (patch)
treeff570eedaff6191a1425ebc29e3d6d69c35d5a28 /nixos
parent30a039c9ad420e669625680569cbbfdaed4116c8 (diff)
parentdc423d5c69cc817c574a200d40378925c867d608 (diff)
Merge pull request #320737 from Reputable2772/path-priority
nixos/hyprland: set path order for systemd user services
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/programs/wayland/hyprland.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/wayland/hyprland.nix b/nixos/modules/programs/wayland/hyprland.nix
index 5a21bd153b632..575adc79cf10b 100644
--- a/nixos/modules/programs/wayland/hyprland.nix
+++ b/nixos/modules/programs/wayland/hyprland.nix
@@ -63,7 +63,7 @@ in
 
       systemd = lib.mkIf cfg.systemd.setPath.enable {
         user.extraConfig = ''
-          DefaultEnvironment="PATH=$PATH:/run/current-system/sw/bin:/etc/profiles/per-user/%u/bin:/run/wrappers/bin"
+          DefaultEnvironment="PATH=/run/wrappers/bin:/etc/profiles/per-user/%u/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:$PATH"
         '';
       };
     }