added stuff

This commit is contained in:
vali 2024-04-09 23:11:33 +02:00
commit 7d4f626b7d
907 changed files with 70990 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{
config,
lib,
...
}: let
inherit (lib.options) mkEnableOption;
inherit (config) modules;
prg = modules.system.programs;
in {
options.modules.system.programs.gaming = {
enable = mkEnableOption ''
packages, services and warappers required for the device to be gaming-ready.
Setting this option to true will also enable certain other options with
the option to disable them explicitly.
'';
steam.enable = mkEnableOption "Steam client" // {default = prg.gaming.enable;};
gamemode.enable = mkEnableOption "Feral-Interactive's Gamemode with userspace optimizations" // {default = prg.gaming.enable;};
gamescope.enable = mkEnableOption "Gamescope compositing manager" // {default = prg.gaming.enable;};
mangohud.enable = mkEnableOption "MangoHud overlay" // {default = prg.gaming.enable;};
};
}