23 lines
576 B
Nix
23 lines
576 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# Install Steam
|
|
programs.steam = {
|
|
enable = true;
|
|
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
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
gamemode
|
|
];
|
|
|
|
# In your configuration.nix
|
|
hardware.opengl = {
|
|
enable = true;
|
|
};
|
|
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
}
|