New `metacfg.services.opencode` module under modules/nixos/services/opencode/ with options for port, user, homeDir, sopsFile, and extraPackages. User and homeDir default off `metacfg.user`. Host configs for amd and sgx reduce to enabling the module and pointing at their respective sops file. Service PATH gains jq, yq-go, python3, gh, gnutar, gzip, unzip, wget, diffutils, patch, file, tree, bun, uv, ast-grep, claude-code, and tmux for agent ergonomics. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
9 lines
127 B
Nix
9 lines
127 B
Nix
{
|
|
...
|
|
}:
|
|
{
|
|
metacfg.services.opencode = {
|
|
enable = true;
|
|
sopsFile = ../../../.secrets/sgx/opencode-web.yaml;
|
|
};
|
|
}
|