From 1c6018152280462535d471aed61e4890ea160c4b Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Tue, 4 Feb 2025 19:33:58 -0800 Subject: migration: steam --- snowfall/modules/nixos/suites/gaming/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 snowfall/modules/nixos/suites/gaming/default.nix (limited to 'snowfall/modules/nixos/suites') 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; + }; + }; + }; +} -- cgit v1.2.3