This commit is contained in:
2026-04-01 11:16:47 +00:00
parent 8b09aa9705
commit bbfcc366c2
26 changed files with 689 additions and 7614 deletions

View File

@@ -4,7 +4,6 @@
opencodeSecretPath = secretPath "opencode-api-key";
in {
den.aspects.ai-tools.homeManager = {
config,
lib,
pkgs,
inputs',
@@ -62,7 +61,7 @@ in {
opensrc = {
enabled = true;
type = "local";
command = ["node" "/home/cschmatzler/.bun/bin/opensrc-mcp"];
command = ["opensrc-mcp"];
};
context7 = {
enabled = true;
@@ -78,22 +77,6 @@ in {
};
};
systemd.user.services.opencode-server = {
Unit = {
Description = "OpenCode AI server";
After = ["default.target"];
};
Service = {
ExecStart = "${inputs'.llm-agents.packages.opencode}/bin/opencode serve --port 18822 --hostname 0.0.0.0";
Restart = "on-failure";
RestartSec = 5;
Environment = "PATH=${config.home.profileDirectory}/bin:/run/current-system/sw/bin";
};
Install = {
WantedBy = ["default.target"];
};
};
xdg.configFile = {
"opencode/agent" = {
source = ./_opencode/agent;