edit config to reflect protontricks update

This commit is contained in:
Simon Gardling 2024-10-02 13:11:15 -04:00
parent ab79d22daf
commit f0343bf173
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
2 changed files with 1 additions and 39 deletions

View File

@ -34,18 +34,6 @@
url = "github:ch4og/zen-browser-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
# sources to patch protontricks as it doesn't work with latest steam beta
# https://github.com/Matoking/protontricks/issues/304#issuecomment-2280920826
protontricks = {
url = "github:Matoking/protontricks/appinfo_v29";
flake = false;
};
vdf-patch = {
url = "github:Matoking/vdf/support_new_bvdf";
flake = false;
};
};
outputs =

View File

@ -8,34 +8,8 @@
imports = [ ./gui.nix ];
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [
# Add a protontricks-beta package so we can use protontricks with latest steam beta
# https://github.com/Matoking/protontricks/issues/304#issuecomment-2280920826
# nixpkgs update: https://github.com/NixOS/nixpkgs/pull/343068
(
final: prev:
let
ps = prev.python312Packages;
in
{
vdf-patch = ps.vdf.overrideAttrs (oldAttrs: {
src = inputs.vdf-patch;
});
protontricks-beta = prev.protontricks.overrideAttrs (oldAttrs: {
src = inputs.protontricks;
propagatedBuildInputs = [
ps.setuptools # implicit dependency, used to find data/icon_placeholder.png
final.vdf-patch
ps.pillow
];
});
}
)
];
home.packages = with pkgs; [
protontricks-beta
protontricks
beatsabermodmanager
protonup-qt
];