Added steam config

This commit is contained in:
Alejandro Angulo 2023-03-19 18:10:43 -07:00
parent a78a60abf8
commit fbbd42860e
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
3 changed files with 56 additions and 14 deletions

View file

@ -0,0 +1,20 @@
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.aa.suites.gaming;
in {
options.aa.suites.gaming = with lib.types; {
enable = mkEnableOption "gaming configuration";
};
config = mkIf cfg.enable {
aa.apps = {
steam.enable = true;
};
};
}