dotfiles/modules/nixos/suites/gaming/default.nix

21 lines
290 B
Nix
Raw Permalink Normal View History

2023-03-20 01:10:43 +00:00
{
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;
};
};
}