Also jellyfin-mpv-shim, mangohud logging, portal-backed xdg-open, systemd-resolved with fallback DNS, and keyring under the user manager. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
1.1 KiB
Nix
29 lines
1.1 KiB
Nix
{ pkgs, inputs, ... }:
|
|
|
|
# NexusMods.App (dev): nixpkgs' package built from the local checkout instead
|
|
# of the v0.21.1 release, for the Baldur's Gate 3 load order (modsettings.lsx)
|
|
# work on the feat/bg3-load-order branch. Builds the branch's last commit, so
|
|
# commit there, then `nix flake update nexusmods-app` here.
|
|
#
|
|
# The branch is based on a main commit after v0.21.1 with the same
|
|
# Directory.Packages.props, so nixpkgs' NuGet lock (deps.json) still applies.
|
|
# If a build fails restoring packages, regenerate it with the package's
|
|
# passthru.fetch-deps.
|
|
let
|
|
version = "0.21.1-bg3";
|
|
nexusmods-app = pkgs.nexusmods-app-unfree.overrideAttrs (old: {
|
|
inherit version;
|
|
src = inputs.nexusmods-app;
|
|
# nixpkgs links the release tag, which a local checkout doesn't have
|
|
meta = old.meta // {
|
|
changelog = "https://github.com/Nexus-Mods/NexusMods.App/blob/main/CHANGELOG.md";
|
|
};
|
|
});
|
|
in
|
|
{
|
|
environment.systemPackages = [ nexusmods-app ];
|
|
|
|
# Upstream discontinued the app, which nixpkgs flags as a known vulnerability.
|
|
nixpkgs.config.permittedInsecurePackages = [ "nexusmods-app-unfree-${version}" ];
|
|
}
|