NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.4k stars 12.9k forks source link

nixos/hyprland: set path order for systemd user services #320737

Closed Reputable2772 closed 3 days ago

Reputable2772 commented 1 week ago

Description of changes

Change the Order of the PATH Environment Variable.

Fixes #320734

Things done


Add a :+1: reaction to pull requests you find important.

JohnRTitor commented 3 days ago

Now that https://github.com/hyprwm/Hyprland/pull/6640 has been merged, we can remove this option, in the next 0.42 release.

Meanwhile there is services.xserver.updateDbusEnvironment, which has incomplete implementation (does not work on Hyprland). I plan to rework the option and make it like how Hyprland handles it using systemctl --import-environment and include the option to specify variables to import. https://github.com/NixOS/nixpkgs/blob/30a039c9ad420e669625680569cbbfdaed4116c8/nixos/modules/services/x11/display-managers/default.nix#L267

JohnRTitor commented 3 days ago

322000