mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-05-09 12:25:03 +02:00
gaming: Switch to nixpkgs's proton-ge
This commit is contained in:
parent
1f05b818c0
commit
51a413ee63
4 changed files with 3 additions and 28 deletions
|
|
@ -25,14 +25,4 @@
|
|||
#recursive = true;
|
||||
};
|
||||
};
|
||||
|
||||
home.activation = {
|
||||
proton-ge = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
target="${config.home.homeDirectory}/.steam/root/compatibilitytools.d/Proton-${lib.getVersion pkgs.proton-ge}"
|
||||
if ! [ -d "$target" ]; then
|
||||
cp -R ${pkgs.proton-ge} "$target"
|
||||
chmod -R u+w "$target"
|
||||
fi
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
extraCompatPackages = with pkgs; [
|
||||
proton-ge-bin
|
||||
];
|
||||
};
|
||||
hardware.steam-hardware.enable = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
simulationcraft = pkgs.callPackage ./simulationcraft.nix {
|
||||
simulationcraft-src = inputs.simulationcraft;
|
||||
};
|
||||
proton-ge = pkgs.callPackage ./proton-ge.nix { };
|
||||
hbw = pkgs.callPackage ./hbw { };
|
||||
kabalist_cli = pkgs.callPackage ./kabalist.nix {
|
||||
naersk = naersk';
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "proton-ge";
|
||||
version = "9-4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GloriousEggroll";
|
||||
repo = "proton-ge-custom";
|
||||
rev = "refs/tags/GE-Proton${version}";
|
||||
hash = "sha256-tg+ElIoPhchedHwofRArZ0ds9xF1LSrIFTBxoFm4btg=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
mv * $out/
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue