feat: add gamemode and gamescope /w CAP_SYS_NICE
This commit is contained in:
parent
7f361458ed
commit
5339eeebce
1 changed files with 8 additions and 1 deletions
|
|
@ -5,11 +5,12 @@
|
|||
zw.gaming.enable = lib.mkEnableOption "Enable Gaming";
|
||||
};
|
||||
|
||||
# https://wiki.nixos.org/wiki/Category:Gaming
|
||||
config = lib.mkIf config.zw.gaming.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
mangohud
|
||||
protonup-qt
|
||||
# lutris # TODO: Having an issue after flake update
|
||||
lutris # TODO: Having an issue after flake update
|
||||
bottles
|
||||
heroic
|
||||
];
|
||||
|
|
@ -20,5 +21,11 @@
|
|||
protontricks.enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
|
||||
programs.gamemode.enable = true;
|
||||
programs.gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue