Added steam config
This commit is contained in:
parent
a78a60abf8
commit
fbbd42860e
3 changed files with 56 additions and 14 deletions
20
modules/suites/gaming/default.nix
Normal file
20
modules/suites/gaming/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue