aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/home/suites/gaming/default.nix
blob: f72af27dc7e230b9c896042b71e6e2f9eb2c7c12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ options, config, lib, namespace, ... }:

with lib; with lib.${namespace}; let
  cfg = config.${namespace}.suites.gaming;
in {
  options.${namespace}.suites.gaming = with types; {
    enable = mkEnableOption "gaming";
  };

  config = mkIf cfg.enable {
    cxl = {
      apps = {
        steam.enable = true;
        prismlauncher.enable = true;
        lutris.enable = true;
      };
    };
  };
}