Merge pull request #303174 from JohnRTitor/hyprland-module

nixos/hyprland: add the correct user profile bin directory to systemd PATH
This commit is contained in:
rewine 2024-04-14 02:20:21 +08:00 committed by GitHub
commit 304c66ce05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"
'';
};
};