From 15908ba927aad79d075044e08c67a126529d70af Mon Sep 17 00:00:00 2001 From: magic_rb Date: Fri, 24 Nov 2023 15:24:36 +0100 Subject: [PATCH] Give gamescope `cap_sys_nice` so it can renice itself Signed-off-by: magic_rb --- nixos/common/steam.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/common/steam.nix b/nixos/common/steam.nix index 71cae6b..f3dd670 100644 --- a/nixos/common/steam.nix +++ b/nixos/common/steam.nix @@ -1,9 +1,12 @@ { pkgs, lib, ... }: { programs.gamemode.enable = true; + programs.gamescope = { + enable = true; + capSysNice = true; + }; environment.systemPackages = with pkgs; [ - gamescope mangohud ];