diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-04 19:33:58 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:44 -0700 |
| commit | 1c6018152280462535d471aed61e4890ea160c4b (patch) | |
| tree | 44e026b94245c0f91536f4ec7d940e0cf42ef049 /snowfall/modules/nixos/suites/gaming/default.nix | |
| parent | fc0268a11ce5f3a797fdcb929555ee2344b6fa97 (diff) | |
migration: steam
Diffstat (limited to 'snowfall/modules/nixos/suites/gaming/default.nix')
| -rw-r--r-- | snowfall/modules/nixos/suites/gaming/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/snowfall/modules/nixos/suites/gaming/default.nix b/snowfall/modules/nixos/suites/gaming/default.nix new file mode 100644 index 0000000..e95e1cd --- /dev/null +++ b/snowfall/modules/nixos/suites/gaming/default.nix @@ -0,0 +1,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; + }; + }; + }; +} |