nixos/system/steam.nix

26 lines
539 B
Nix
Raw Normal View History

{ pkgs, username, ... }:
{
environment = {
sessionVariables.MANGOHUD = 1;
systemPackages = [ pkgs.mangohud ];
};
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;
enableSessionWide = true;
2024-11-30 09:24:28 +00:00
settings.preset = 1;
};
}