Skip to content

Commit

Permalink
Merge pull request #303174 from JohnRTitor/hyprland-module
Browse files Browse the repository at this point in the history
nixos/hyprland: add the correct user profile bin directory to systemd PATH
  • Loading branch information
wineee authored Apr 13, 2024
2 parents 31fa1dd + 1198dc8 commit 304c66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/programs/wayland/hyprland.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ in

systemd = mkIf cfg.systemd.setPath.enable {
user.extraConfig = ''
DefaultEnvironment="PATH=$PATH:/run/current-system/sw/bin:/etc/profiles/per-user/$USER/bin:/run/wrappers/bin"
DefaultEnvironment="PATH=$PATH:/run/current-system/sw/bin:/etc/profiles/per-user/%u/bin:/run/wrappers/bin"
'';
};
};
Expand Down

0 comments on commit 304c66c

Please sign in to comment.