feat: add opencode

This commit is contained in:
Nickolaj Jepsen 2026-01-19 12:54:49 +01:00
parent aac2ae399a
commit f7157b5a1f
5 changed files with 52 additions and 0 deletions

View file

@ -41,5 +41,6 @@
./postgres.nix
./python.nix
./tilt.nix
./opencode.nix
];
}

View file

@ -0,0 +1,14 @@
{
inputs,
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.fireproof.dev.enable {
environment.systemPackages = with inputs.opencode.packages.${pkgs.stdenv.hostPlatform.system}; [
opencode
desktop
];
};
}

View file

@ -133,6 +133,7 @@ in {
"github.copilot.chat.githubMcpServer.enabled" = true;
"chat.customAgentInSubagent.enabled" = true;
"inlineChat.enableV2" = true;
"chat.viewSessions.orientation" = "vertical";
"chat.tools.terminal.autoApprove" = {
"nix" = true;