Add gaming-specific options

This commit is contained in:
Kevin Kandlbinder 2023-03-25 00:46:05 +01:00
parent a10e43fcdf
commit 8f737a3622
3 changed files with 17 additions and 7 deletions

View file

@ -0,0 +1,7 @@
{pkgs, ...}:
{
environment.systemPackages = with pkgs; [
mangohud
];
programs.gamemode.enable = true;
}

View file

@ -0,0 +1,8 @@
{pkgs, ...}:
{
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
};
}