Server: services.ai-memory (upstream NixOS module, llm-agents build) on
m3-hermes, bound to the Netbird range, LLM consolidation via z.ai GLM,
one global cross-project profile, auto-improve proposals gated behind
approval. Traefik on m3-atlas publishes it as memory.m3ta.dev.
Clients: per-host aim_ keys (user "sascha", labels kratos / hermes /
az-lt-nix) as agenix secrets. m3-kratos enables m3ta-home's
coding.aiMemory with the AZ checkouts routed to the "az" workspace.
Hermes: lifecycle hooks, MCP bridge and skills wired declaratively, a
home-workspace marker ("home"/"assistant"), and Honcho replaced by the
built-in notes so ai-memory is the single shared memory.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
82 lines
1.6 KiB
Nix
82 lines
1.6 KiB
Nix
{config, ...}: {
|
|
m3ta.ports = {
|
|
enable = true;
|
|
definitions = {
|
|
# System services
|
|
ssh = 22;
|
|
|
|
# Web & proxy services
|
|
traefik = 80;
|
|
traefik-ssl = 443;
|
|
|
|
# Databases
|
|
postgres = 5432;
|
|
mysql = 3306;
|
|
redis = 6379;
|
|
|
|
# VPN & networking
|
|
wireguard = 51820;
|
|
tailscale = 41641;
|
|
headscale = 3009;
|
|
netbird-stun = 3478;
|
|
netbird-proxy = 8443;
|
|
netbird-metrics = 9090;
|
|
netbird-health = 9000;
|
|
|
|
# Containers & web apps
|
|
gitea = 3030;
|
|
baserow = 3001;
|
|
ghost = 3002;
|
|
wastebin = 3003;
|
|
littlelink = 3004;
|
|
searx = 3005;
|
|
restreamer = 3006;
|
|
paperless = 3012;
|
|
vaultwarden = 3013;
|
|
slash = 3010;
|
|
slash-nemoti = 3016;
|
|
kestra = 3018;
|
|
outline = 3019;
|
|
authentik = 3023;
|
|
tuwunel = 3024;
|
|
honcho = 3025;
|
|
|
|
# Agent infrastructure
|
|
hermes-api = 8642;
|
|
hermes-dashboard = 9119;
|
|
ai-memory = 49374;
|
|
|
|
# Home automation
|
|
homarr = 7575;
|
|
|
|
# DNS
|
|
adguardhome = 53;
|
|
};
|
|
|
|
hostOverrides = {
|
|
# Host-specific overrides
|
|
m3-ares = {
|
|
# Any custom port overrides for m3-ares
|
|
};
|
|
|
|
m3-atlas = {
|
|
# Any custom port overrides for m3-atlas
|
|
};
|
|
|
|
m3-helios = {
|
|
# Any custom port overrides for m3-helios
|
|
};
|
|
|
|
m3-kratos = {
|
|
# Any custom port overrides for m3-kratos
|
|
};
|
|
};
|
|
};
|
|
environment.etc."info/all-ports.json" = {
|
|
text = builtins.toJSON {
|
|
hostname = config.networking.hostName;
|
|
ports = config.m3ta.ports.all; # TODO should only return actually used ports
|
|
};
|
|
};
|
|
}
|