aboutsummaryrefslogtreecommitdiff
path: root/modules/home/suites/gaming
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-04-14 19:27:01 -0700
committerCaroline Larimore <caroline@larimo.re>2025-04-14 19:27:01 -0700
commit82aafe0333ac34614a2ee4698ffc218bddd8b9f3 (patch)
treec470179f6b3ad25eaf7a11a80f3cd0976dacf54a /modules/home/suites/gaming
parentb6d2d71e7b3fde0748cab841b5f1038da420fcdf (diff)
migration: overarching home desktop toggle
Diffstat (limited to 'modules/home/suites/gaming')
-rw-r--r--modules/home/suites/gaming/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/home/suites/gaming/default.nix b/modules/home/suites/gaming/default.nix
index f72af27..13e98ec 100644
--- a/modules/home/suites/gaming/default.nix
+++ b/modules/home/suites/gaming/default.nix
@@ -2,12 +2,13 @@
with lib; with lib.${namespace}; let
cfg = config.${namespace}.suites.gaming;
+ desktop = config.${namespace}.desktop;
in {
options.${namespace}.suites.gaming = with types; {
enable = mkEnableOption "gaming";
};
- config = mkIf cfg.enable {
+ config = mkIf (cfg.enable && desktop.enable) {
cxl = {
apps = {
steam.enable = true;