aboutsummaryrefslogtreecommitdiff
path: root/modules/nixos/suites/gaming/default.nix
blob: e95e1cdea6f51261cd94e431018e8a0230ed01aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ 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;
      };
    };
  };
}