feat: update gaming config
This commit is contained in:
parent
e6a9e1e60c
commit
969be6b552
|
@ -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 {
|
||||
|
|
|
@ -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}/";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,4 +2,7 @@
|
|||
|
||||
{
|
||||
programs.gamemode.enable = true;
|
||||
|
||||
# fix for Star Citizen
|
||||
boot.kernel.sysctl."vm.max_map_count" = 16777216;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue