switch over hopper fully (+ minor refactoring)

This commit is contained in:
xunuwu 2024-11-21 10:03:31 +01:00
parent c38c6b9b29
commit 6ab8a4e38d
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
97 changed files with 71 additions and 25 deletions

View file

@ -0,0 +1,38 @@
{pkgs, ...}: {
environment.systemPackages = [
pkgs.protontricks
pkgs.steamtinkerlaunch
];
programs.steam = {
enable = true;
#package = pkgs.steam.overrideAttrs (final: prev: {
# nativeBuildInputs = prev.nativeBuildInputs ++ [pkgs.breakpointHook];
# postInstall =
# prev.postInstall
# ++ ''
# exit 33
# '';
#});
remotePlay.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
gamescopeSession.enable = true;
## Fixes gamescope
extraPackages = with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXScrnSaver
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
libkrb5
keyutils
];
};
}