2024-11-15 05:42:31 +00:00
|
|
|
{ pkgs, username, ... }:
|
2024-11-08 06:33:25 +00:00
|
|
|
{
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
2024-11-15 05:42:31 +00:00
|
|
|
home-manager.users.${username}.programs.mangohud = {
|
|
|
|
enable = true;
|
|
|
|
enableSessionWide = true;
|
2024-11-30 09:24:28 +00:00
|
|
|
settings.preset = 1;
|
2024-11-15 05:42:31 +00:00
|
|
|
};
|
2024-11-08 06:33:25 +00:00
|
|
|
}
|