straylight: enable MCP agent (becoming core host)
Add configs/mcp.nix (mcp user UID 850 + mcp-agent service) and open firewall ports for DNS/mc-proxy/agent/master as straylight takes over the master + MCIAS + MCNS core role from rift. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -5,8 +5,18 @@
|
|||||||
../../configs/desktop.nix
|
../../configs/desktop.nix
|
||||||
../../configs/qemu.nix
|
../../configs/qemu.nix
|
||||||
../../configs/mcpkg.nix
|
../../configs/mcpkg.nix
|
||||||
|
../../configs/mcp.nix # MCP agent + mcp user (straylight is becoming the core host)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
config = {
|
||||||
|
# Allow rootless containers (podman) to bind low ports (53 for MCNS,
|
||||||
|
# 443/8443/9443 for mc-proxy) as straylight takes over the core role.
|
||||||
|
boot.kernel.sysctl."net.ipv4.ip_unprivileged_port_start" = 53;
|
||||||
|
|
||||||
|
# Open ports: DNS (53), mc-proxy (443/8443/9443), agent (9444), master (9555).
|
||||||
|
networking.firewall.allowedTCPPorts = [ 53 443 8443 9443 9444 9555 ];
|
||||||
|
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||||
|
|
||||||
# DNS: MCNS for internal zones, public resolvers as fallback.
|
# DNS: MCNS for internal zones, public resolvers as fallback.
|
||||||
networking.nameservers = [
|
networking.nameservers = [
|
||||||
"192.168.88.181"
|
"192.168.88.181"
|
||||||
@@ -17,4 +27,5 @@
|
|||||||
services.resolved.domains = [
|
services.resolved.domains = [
|
||||||
"~mcp.metacircular.net"
|
"~mcp.metacircular.net"
|
||||||
];
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user