23 lines
491 B
Nix
23 lines
491 B
Nix
{ pkgs, username, ... }:
|
|
{
|
|
environment.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;
|
|
settings.preset = 1;
|
|
};
|
|
}
|