+opencode-memory
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
enable = true;
|
||||
settings = {
|
||||
theme = "opencode";
|
||||
plugin = ["oh-my-opencode" "opencode-antigravity-auth@beta"];
|
||||
plugin = ["oh-my-opencode" "opencode-antigravity-auth@beta" "opencode-memory"];
|
||||
agent =
|
||||
builtins.fromJSON
|
||||
(builtins.readFile "${inputs.agents}/agents/agents.json");
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
options.services.headscale = {
|
||||
adminUser = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "m3tam3re";
|
||||
default = "m3tam3re@m3ta.loc";
|
||||
description = "Username for the headscale admin user";
|
||||
};
|
||||
};
|
||||
@@ -36,21 +36,6 @@
|
||||
dst = ["${adminUser}:*"];
|
||||
}
|
||||
];
|
||||
# Tailscale SSH rules
|
||||
ssh = [
|
||||
{
|
||||
action = "accept";
|
||||
src = ["${adminUser}"];
|
||||
dst = ["*"];
|
||||
users = ["*"];
|
||||
}
|
||||
{
|
||||
action = "accept";
|
||||
src = ["group:admins"];
|
||||
dst = ["*"];
|
||||
users = ["*"];
|
||||
}
|
||||
];
|
||||
# Auto-approvers section for routes
|
||||
autoApprovers = {
|
||||
routes = {
|
||||
@@ -74,7 +59,7 @@
|
||||
services = {
|
||||
headscale = {
|
||||
enable = true;
|
||||
adminUser = "m3tam3re";
|
||||
adminUser = "m3tam3re@m3ta.loc";
|
||||
port = 3009;
|
||||
settings = {
|
||||
server_url = "https://va.m3tam3re.com";
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"--login-server=${config.services.headscale.settings.server_url}"
|
||||
"--advertise-exit-node"
|
||||
"--accept-routes"
|
||||
"--ssh"
|
||||
"--ssh=true"
|
||||
];
|
||||
};
|
||||
services.networkd-dispatcher = lib.mkIf config.services.tailscale.enable {
|
||||
|
||||
Reference in New Issue
Block a user