From ca7193633c9289d38c7a57a96c95ca9786c04309 Mon Sep 17 00:00:00 2001 From: jay Date: Wed, 16 Jul 2025 00:13:42 -0400 Subject: [PATCH] Allow gamescope to change its own kernel niceness settings for smoother gameplay. --- nodes/hosts/common/programs/steam.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nodes/hosts/common/programs/steam.nix b/nodes/hosts/common/programs/steam.nix index b32ed0e..84afb56 100644 --- a/nodes/hosts/common/programs/steam.nix +++ b/nodes/hosts/common/programs/steam.nix @@ -2,7 +2,10 @@ # Install steam. programs = { gamemode.enable = true; - gamescope.enable = true; + gamescope = { + enable = true; + capSysNice = true; + }; steam = { enable = true;