refactor2

This commit is contained in:
Lilith 2025-03-12 15:52:56 +01:00
parent 7fa104b722
commit f0a79a07f1
Signed by: lilith
GPG key ID: 8712A0F317C37175
3 changed files with 25 additions and 19 deletions

View file

@ -1,27 +0,0 @@
{ config, lib, ...}: {
options.gaming.enable = lib.mkEnableOption "Enable steam and related software";
config = lib.mkIf config.gaming.enable {
programs = {
gamescope = {
enable = true;
capSysNice = true;
};
steam = {
enable = true;
gamescopeSession.enable = true;
};
gamemode.enable = true;
};
environment = {
systemPackages = with pkgs; [
mangohud
protonup
];
};
};
}