nixos/system/steam.nix

21 lines
405 B
Nix

{ username, ... }:
{
hardware.steam-hardware.enable = true;
programs = {
gamemode.enable = true;
steam = {
enable = true;
remotePlay.openFirewall = true;
gamescopeSession.enable = true;
};
gamescope = {
enable = true;
capSysNice = true;
};
};
home-manager.users.${username}.programs.mangohud = {
enable = true;
settings.preset = 1;
};
}