many changes: prepare to allow multiple users

This commit is contained in:
Sean Kovacs 2026-04-02 19:36:49 -04:00
commit fab570dd29
Signed by: sckova
GPG key ID: 00F325187C68651A
42 changed files with 80 additions and 158 deletions

37
system/games/default.nix Normal file
View file

@ -0,0 +1,37 @@
{
config,
pkgs,
lib,
...
}:
{
programs = {
gamescope = {
enable = true;
capSysNice = false;
args = [
"--output-width 3840"
"--nested-width 3840"
"--output-height 2160"
"--nested-height 2160"
"--expose-wayland"
"--fullscreen"
];
};
gamemode.enable = true;
};
services = {
ananicy = {
enable = true;
package = pkgs.ananicy-cpp;
rulesProvider = pkgs.ananicy-cpp;
extraRules = [
{
"name" = "gamescope";
"nice" = -20;
}
];
};
};
}