d51f2d62b6
Add a top-level README mapping the boxes and a full docs/ tree: topic pages (architecture, networking, deployment), per-site box pages for colony and home with containers nested under their hosts, remote and mobile boxes, the installer, and the home switch fabric reference (folded in from home-switches.md, with AGENTS.md and code comments retargeted to its new home). Box pages carry marked assignment tables that CI regenerates from nixos.allAssignments. AGENTS.md points at the new docs and keeps its terse agent version of the mechanics, referring to the topic pages for depth.
2.5 KiB
2.5 KiB
castle
The home workstation / gaming desktop. Diskless-style: it netboots from river and keeps its
root storage on NVMe-oF volumes from cellar.
- Source:
nixos/boxes/home/castle/(default.nix) - Host: physical
Role
- AMD desktop running the GUI stack (
my.gui.enable, Sway/Wayland via home-manager), PipeWire (low-latencyquantum 128, EasyEffects, jacktrip), Bluetooth, Thunderbolt (bolt). - Netboot client (
my.netboot.client.enable): the firmware iPXE-boots off the 2.5G NIC — kea's client-class forcastlematcheset2.5g's MAC (c8:7f:54:6e:17:0f) and points atboot.h.nul.ieonriver. - Root on NVMe-oF:
/nix,/persistand/homeare/dev/nvmeof/*LVs on thenqn.2016-06.io.spdk:castlenamespace fromcellar(my.nvme.boot,192.168.68.80, RDMA). The initrd brings upet100g/lan-hiplusroceBootModulesto reach it, and the running system keepsKeepConfiguration=staticonlan-hiso networkd never drops the NVMe-oF address. The root itself is a 24 GiB tmpfs (my.tmproot). - Local virtualisation:
libvirtd+virt-managerare enabled and the IOMMU is on (amd_iommu=on), but no VFIO/GPU-passthrough is configured in the box config today. - Both firewalls are off (
networking.firewall.enableandmy.firewall.enable— it's a trusted desktop onhi). - Misc:
binfmtemulation foraarch64-linux/armv7l-linux,recursive-nix, Wireshark,rdma-core/qperffor the RoCE link. Adrm-amd-displayflicker patch sits commented out inkernelPatches.
Network assignments
| Name | Assignment | IPv4 | IPv6 | Domain | Notes |
|---|---|---|---|---|---|
| castle | hi | 192.168.68.40/22 gw 192.168.71.254 |
2a0e:97c0:4d0:1::3:1/64 |
h.nul.ie |
Networking
et100g(100G, MTU 9000) carrieslan-hi(thehiassignment, statically.40— also pinned by a kea reservation on its MAC) andlan-lo.lan-lois a secondary leg: DHCPv4 withUseGateway/UseDNSoff and RAs accepted with gateway/DNS use off — present for reachinglodevices, never a default route.et2.5g(netboot) andet10gare renamed but carry no network config.
Notable config files
nixos/boxes/home/castle/default.nix— box config: netboot/NVMe-oF boot, 100G networking, GUI/audio, virtualisation.