blob: 48be8615c646d422e78c856f1c05582016f656b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{
config,
lib,
...
}:
let
cfg = config.nx.cli.opencode;
inherit (lib) mkEnableOption mkIf;
in
{
options.nx.cli.opencode = {
enable = mkEnableOption "opencode open source ai coding agent";
};
config = mkIf cfg.enable {
programs.opencode = {
enable = true;
settings = {
theme = "system";
share = "disabled";
autoupdate = false;
};
};
};
}
|