a2f3410e42
Add per-site and per-box inventories, consolidate shared network design, and relocate the switch and access-point references under the home site.
2.9 KiB
2.9 KiB
kelder
Secondary home server at a remote site, domain hentai.engineer. Linked back to colony over
WireGuard and acting as a NixOS container host (like shill/sfh).
- Source:
nixos/boxes/kelder/ - Host: physical (Intel; LTS kernel,
kvm-intel, IOMMU on) - nixpkgs:
mine
Role
- Container host — runs two NixOS containers on the
ctrsbridge (my.containers.instances):kelder-acquisitionandkelder-spoder(below). - Public services via colony — a WireGuard tunnel (
estuarynetdev) connects to colony'sestuarybox, which DNATs public traffic to kelder's tunneled assignment; connection-mark-based policy routing sends replies back through the tunnel while ordinary traffic uses the LAN. kelder's own NAT forwardshttp/httpson tokelder-spoder. - Nextcloud host — served from the
kelder-spodercontainer. - Samba — the
storageshare backed by/mnt/storage, withnmbdandsamba-wsddfor Windows discovery. - DDNS — a
ddns-updatetimer runsdns_update.pyperiodically to sync thehentai.engineerandkelder-local.hentai.engineerCloudflare records with the address onet1g0.
Network assignments
See the consolidated network assignments table (this box: kelder).
Containers
| Container | Role |
|---|---|
kelder-acquisition |
Media stack (Transmission over AirVPN, Jackett/Radarr/Sonarr, Jellyfin) |
kelder-spoder |
Nextcloud + nginx reverse proxy |
The containers are not deploy targets (my.deploy.enable = false); they're managed through
the host.
Networking
- LAN on
et1g0(renamed by MAC) with DHCP and MTU 1460 (lib.my.c.kelder.ipv4MTU); the kelder v4 prefixes are masqueraded out of it. - The
estuaryWireGuard peer is combined with rules that keep LAN traffic on the main table and only route tunnel-marked or owned traffic through the tunnel's dedicated table.
Services
netdata(proxied asmonitor.hentai.engineerbykelder-spoder),smartd,fstrim, LVM thin provisioning.minecraft-serveris present but disabled (enable = false); the firewall still opens 25565 tcp/udp.- Primary user
kontent(in thestorage/mediagroups). - Sets
system.nixos.distroName = "KelderOS", a custom Plymouth theme and anamogus-beepboot jingle (boot.nix).
Notable config files
nixos/boxes/kelder/default.nix— system, assignments, tunnel, NAT, containers.nixos/boxes/kelder/boot.nix— Plymouth theme + boot beep.nixos/boxes/kelder/containers/— the two container definitions.nixos/boxes/kelder/dns_update.py— Cloudflare DDNS script.