From 9b814fb82d0c73d5fbb0be22223a4ab5c07ca6f3 Mon Sep 17 00:00:00 2001 From: traxys Date: Mon, 25 Aug 2025 21:57:43 +0200 Subject: [PATCH] gaming: Use programs.gamescope instead of own wrapper --- gaming/nixos.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gaming/nixos.nix b/gaming/nixos.nix index 432cb7b..033138b 100644 --- a/gaming/nixos.nix +++ b/gaming/nixos.nix @@ -14,12 +14,8 @@ boot.kernelPackages = pkgs.linuxPackages_xanmod_latest; - security.wrappers = { - gamescope = { - owner = "root"; - group = "root"; - source = "${pkgs.gamescope}/bin/gamescope"; - capabilities = "cap_sys_nice+ep"; - }; + programs.gamescope = { + enable = true; + capSysNice = true; }; }