outsource gaming

This commit is contained in:
MFlossmann 2024-07-13 11:38:17 +02:00
parent 47bf1dba5c
commit c098a689df
4 changed files with 19 additions and 13 deletions

View file

@ -0,0 +1,16 @@
{config, pkgs, ...}:let
mainUser = config.myNixOS.sharedSettings.mainUser;
in {
programs.steam = {
enable = true;
gamescopeSession.enable = true;
# remotePlay.openFirewall = true;
# localNetworkGameTransfers.openFirewall = true;
};
programs.gamemode.enable = true;
environment.systemPackages = with pkgs; [protonup];
environment.sessionVariables = {
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/${mainUser}/.steam/root/compatibilitytools.d";
};
}