gaming: Try to wrap gamescope
This commit is contained in:
parent
53ed01e019
commit
81ed9c5b20
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user