edit config to reflect protontricks update
This commit is contained in:
parent
ab79d22daf
commit
f0343bf173
@ -34,18 +34,6 @@
|
|||||||
url = "github:ch4og/zen-browser-flake";
|
url = "github:ch4og/zen-browser-flake";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
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 =
|
outputs =
|
||||||
|
|||||||
@ -8,34 +8,8 @@
|
|||||||
imports = [ ./gui.nix ];
|
imports = [ ./gui.nix ];
|
||||||
nixpkgs.config.allowUnfree = true;
|
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; [
|
home.packages = with pkgs; [
|
||||||
protontricks-beta
|
protontricks
|
||||||
beatsabermodmanager
|
beatsabermodmanager
|
||||||
protonup-qt
|
protonup-qt
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user