From 0a65d204a0e7f2d7e338d26e3630cf53afc9a22d Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Thu, 28 Nov 2024 11:53:29 -0500 Subject: [PATCH] enabled gamescope 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 --- common/optional/steam.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/optional/steam.nix b/common/optional/steam.nix index b59c08a..24d3f1e 100644 --- a/common/optional/steam.nix +++ b/common/optional/steam.nix @@ -13,5 +13,9 @@ extraCompatPackages = with pkgs; [proton-ge-bin]; extest.enable = true; }; + gamescope = { + enable = true; + capSysNice = true; + }; }; }