Unverified Commit 304c66ce authored by rewine's avatar rewine Committed by GitHub
Browse files

Merge pull request #303174 from JohnRTitor/hyprland-module

nixos/hyprland: add the correct user profile bin directory to systemd PATH
parents 31fa1dd3 1198dc84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"
      '';
    };
  };