mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
feat: add opencode
This commit is contained in:
parent
aac2ae399a
commit
f7157b5a1f
5 changed files with 52 additions and 0 deletions
|
|
@ -41,5 +41,6 @@
|
|||
./postgres.nix
|
||||
./python.nix
|
||||
./tilt.nix
|
||||
./opencode.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
14
modules/programs/opencode.nix
Normal file
14
modules/programs/opencode.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue