Do a TON of organising into seperate files

This commit is contained in:
BuyMyMojo 2025-04-05 10:40:02 +11:00
parent b42afdda7e
commit 823361a999
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
20 changed files with 396 additions and 116 deletions

36
nixos/common/steam.nix Normal file
View file

@ -0,0 +1,36 @@
{
config,
pkgs,
unstable,
inputs,
nix-your-shell,
...
}:
{
programs.steam = {
enable = true;
package = pkgs.steam.override {
extraPkgs = (
pkgs:
with pkgs;
with unstable;
[
gamemode
unstable.mangohud
# additional packages...
# e.g. some games require python3
]
);
};
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
};
programs.steam.gamescopeSession.enable = true;
programs.steam.protontricks.enable = true;
hardware.steam-hardware.enable = true;
programs.gamescope.enable = true;
programs.gamemode.enable = true;
}