broke out common logic

This commit is contained in:
John Lancaster
2025-07-06 21:52:22 -05:00
parent e21c901e94
commit 09e941abbd

View File

@@ -60,23 +60,17 @@
description = "Whether to enable docker stuff"; description = "Whether to enable docker stuff";
}; };
options.graphical = { options.graphical =
discord = lib.mkOption { let
type = lib.types.bool; boolOption = lib.mkOption {
default = false; type = lib.types.bool;
default = false;
};
in
{
discord = boolOption;
ghostty = boolOption;
steam = boolOption;
vscode = boolOption;
}; };
ghostty = lib.mkOption {
type = lib.types.bool;
default = false;
};
steam = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Whether this system has Steam installed";
};
vscode = lib.mkOption {
type = lib.types.bool;
default = false;
};
};
} }