Compare commits

..

2 Commits

Author SHA1 Message Date
8c84c70152 fix oc 2026-03-13 15:58:27 +00:00
a92d0cfe8b fix oc 2026-03-13 15:58:27 +00:00
2 changed files with 5 additions and 1 deletions

View File

@@ -40,6 +40,10 @@ in {
];
extraConfigLua = ''
require("opencode").setup({
server = {
url = "localhost",
port = 18822;
},
debug = {
show_ids = false,
},

View File

@@ -76,7 +76,7 @@
After = ["default.target"];
};
Service = {
ExecStart = "${inputs'.llm-agents.packages.opencode}/bin/opencode serve --port 18822 --host 100.64.0.1";
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";