16 lines
477 B
Nix
16 lines
477 B
Nix
{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";
|
|
};
|
|
}
|