Unverified Commit dc423d5c authored by Reputable2722's avatar Reputable2722
Browse files

nixos/hyprland: set path order for systemd user services



Set PATH order correctly for systemd user services (see NixOS/nixpkgs#320734

Signed-off-by: default avatarReputable2722 <153411261+Reputable2772@users.noreply.github.com>
parent 9c019cce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"
        '';
      };
    }