feat: update gaming config

This commit is contained in:
Felix Schröter 2021-08-07 22:08:00 +02:00
parent e6a9e1e60c
commit 969be6b552
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
3 changed files with 24 additions and 7 deletions

View file

@ -4,6 +4,18 @@
home.packages = with pkgs; [ lutris ];
xdg.dataFile = {
wine-ge = let
version = "6.14-GE-2";
name = "wine-lutris-ge-6.14-2-x86_64";
in {
recursive = false;
source = builtins.fetchTarball {
url =
"https://github.com/GloriousEggroll/wine-ge-custom/releases/download/${version}/${name}.tar.xz";
sha256 = "0ss693vg7gq6dp4x0ilhlkbz2il941ravhrh7l7s6zzx415c468x";
};
target = "lutris/runners/wine/${name}";
};
wine-runner-sc = let
package = { }:
pkgs.stdenv.mkDerivation rec {

View file

@ -10,19 +10,21 @@ let
[ package32 ] ++ extraPackages32;
};
in {
home.packages = [ steam steam.run ];
home.packages = [ steam steam.run pkgs.protontricks ];
xdg.dataFile = {
home.file = {
# TODO doesn't show up in steam
proton-ge = let version = "6.12-GE-1";
in {
recursive = false;
proton-ge = let
version = "6.14-GE-2";
source = builtins.fetchTarball {
url =
"https://github.com/GloriousEggroll/proton-ge-custom/releases/download/${version}/Proton-${version}.tar.gz";
sha256 = "0j3ca5qqvj294ax9xpxcm9s70vdkhk1sskn53hq3pcn3p9yr6phq";
sha256 = "18hfag1nzj6ldy0ign2yjfzfms0w23vmcykgl8h1dfk0xjaql8gk";
};
target = "Steam/compatibilitytools.d/proton-ge-${version}";
in rec {
recursive = true;
inherit source;
target = ".steam/root/compatibilitytools.d/Proton-${version}/";
};
};
}

View file

@ -2,4 +2,7 @@
{
programs.gamemode.enable = true;
# fix for Star Citizen
boot.kernel.sysctl."vm.max_map_count" = 16777216;
}