Compare commits
2 Commits
d19a0ffb81
...
8c84c70152
| Author | SHA1 | Date | |
|---|---|---|---|
| 8c84c70152 | |||
| a92d0cfe8b |
@@ -40,6 +40,10 @@ in {
|
|||||||
];
|
];
|
||||||
extraConfigLua = ''
|
extraConfigLua = ''
|
||||||
require("opencode").setup({
|
require("opencode").setup({
|
||||||
|
server = {
|
||||||
|
url = "localhost",
|
||||||
|
port = 18822;
|
||||||
|
},
|
||||||
debug = {
|
debug = {
|
||||||
show_ids = false,
|
show_ids = false,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
After = ["default.target"];
|
After = ["default.target"];
|
||||||
};
|
};
|
||||||
Service = {
|
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";
|
Restart = "on-failure";
|
||||||
RestartSec = 5;
|
RestartSec = 5;
|
||||||
Environment = "PATH=${config.home.profileDirectory}/bin:/run/current-system/sw/bin";
|
Environment = "PATH=${config.home.profileDirectory}/bin:/run/current-system/sw/bin";
|
||||||
|
|||||||
Reference in New Issue
Block a user