mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-15 20:00:20 +01:00
gaming: Use programs.gamescope instead of own wrapper
This commit is contained in:
parent
acccece96a
commit
9b814fb82d
1 changed files with 3 additions and 7 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue