mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
capSysNice allows game scope to set nice value for scheduler : References https://man7.org/linux/man-pages/man7/capabilities.7.html CAP_SYS_NICE https://wiki.archlinux.org/title/Gamescope 3.3 Setting Gamescopes priority
22 lines
499 B
Nix
22 lines
499 B
Nix
{ pkgs, ... }:
|
|
{
|
|
environment.systemPackages = with pkgs; [mangohud steam-run];
|
|
hardware.steam-hardware.enable = true;
|
|
|
|
programs = {
|
|
gamemode.enable = true;
|
|
steam = {
|
|
enable = true;
|
|
gamescopeSession.enable = true;
|
|
remotePlay.openFirewall = true;
|
|
localNetworkGameTransfers.openFirewall = true;
|
|
extraCompatPackages = with pkgs; [proton-ge-bin];
|
|
extest.enable = true;
|
|
};
|
|
gamescope = {
|
|
enable = true;
|
|
capSysNice = true;
|
|
};
|
|
};
|
|
}
|