a dotfile but it's really big
1{ lib, ... }:
2{
3 options.dev.opencode = {
4 enable = lib.mkEnableOption "OpenCode AI-assisted development environment";
5 enableLangRules = lib.mkOption {
6 type = lib.types.bool;
7 default = true;
8 description = "LangRules plugin injects language specific context and tooling";
9 };
10 enableMcp = lib.mkOption {
11 type = lib.types.bool;
12 default = true;
13 description = "MCP server integrations for enhanced language support";
14 };
15 theme = lib.mkOption {
16 type = lib.types.str;
17 default = "catppuccin-macchiato";
18 description = "OpenCode theme";
19 };
20 };
21
22 imports = [ ./default.nix ];
23}