Skip to content

Commit

Permalink
nixos/hyprland: set path order for systemd user services
Browse files Browse the repository at this point in the history
Set PATH order correctly for systemd user services (see NixOS#320734

Signed-off-by: Reputable2722 <[email protected]>
  • Loading branch information
Reputable2772 committed Jun 18, 2024
1 parent 9c019cc commit dc423d5
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 @@ -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"
'';
};
}
Expand Down

0 comments on commit dc423d5

Please sign in to comment.