gaming: Try to wrap gamescope

This commit is contained in:
PapaTutuWawa 2023-01-19 15:18:01 +01:00
parent 53ed01e019
commit 81ed9c5b20

View File

@ -22,11 +22,18 @@ in {
#steam-wrapped # Custom package #steam-wrapped # Custom package
gamescope #gamescope
corectrl 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; hardware.steam-hardware.enable = true;
}; };
} }