diff --git a/modules/programs/gaming/default.nix b/modules/programs/gaming/default.nix index 8205f6b..c93bde2 100644 --- a/modules/programs/gaming/default.nix +++ b/modules/programs/gaming/default.nix @@ -22,11 +22,18 @@ in { #steam-wrapped # Custom package - gamescope + #gamescope corectrl ]; + security.wrappers.gamescope = { + owner = "root"; + group = "root"; + source = "${pkgs.gamescope}/bin/gamescope"; + capabilities = "cap_sys_nice+ep,cap_setgid+ep,cap_setuid+ep"; + }; + hardware.steam-hardware.enable = true; }; }