One file declares the cluster; five machines converge on it

clan.nix is a matrix of 16 service instances by 5 machines. A pin in the matrix is a role; every machine builds itself from its own column.

Inside each machine →The code is the contract →
clan · rasyidanafubuntu-baremetal · libvirtgreencloud-vpsgreencloud-vpsgreencloud-usgreencloud-usdalang-devdalang-devhermes-vmhermes-vmlab-vmlab-vmservices/clan.nixsshd on greencloud-vpsroot-user on greencloud-vpsuser-rsydn on greencloud-vpszerotier on greencloud-vpstor on greencloud-vpsgarage on greencloud-vpsforgejo on greencloud-vpsgithub-readme-stats on greencloud-vpspikpak-s3 on greencloud-vpsartifact-sharing on greencloud-vpsartifact-sharing-backup on greencloud-vpsfinance-agent on greencloud-vpshermes-agent on greencloud-vpsopencode2 on greencloud-vpsbuzz on greencloud-vpsbuzz-postgresql-backup on greencloud-vpssshd on greencloud-usroot-user on greencloud-ususer-rsydn on greencloud-uszerotier on greencloud-ustor on greencloud-usgarage on greencloud-usforgejo on greencloud-usgithub-readme-stats on greencloud-uspikpak-s3 on greencloud-usartifact-sharing on greencloud-usartifact-sharing-backup on greencloud-usfinance-agent on greencloud-ushermes-agent on greencloud-usopencode2 on greencloud-usbuzz on greencloud-usbuzz-postgresql-backup on greencloud-ussshd on dalang-devroot-user on dalang-devuser-rsydn on dalang-devzerotier on dalang-devtor on dalang-devgarage on dalang-devforgejo on dalang-devgithub-readme-stats on dalang-devpikpak-s3 on dalang-devartifact-sharing on dalang-devartifact-sharing-backup on dalang-devfinance-agent on dalang-devhermes-agent on dalang-devopencode2 on dalang-devbuzz on dalang-devbuzz-postgresql-backup on dalang-devsshd on hermes-vmroot-user on hermes-vmuser-rsydn on hermes-vmzerotier on hermes-vmtor on hermes-vmgarage on hermes-vmforgejo on hermes-vmgithub-readme-stats on hermes-vmpikpak-s3 on hermes-vmartifact-sharing on hermes-vmartifact-sharing-backup on hermes-vmfinance-agent on hermes-vmhermes-agent on hermes-vmopencode2 on hermes-vmbuzz on hermes-vmbuzz-postgresql-backup on hermes-vmsshd on lab-vmroot-user on lab-vmuser-rsydn on lab-vmzerotier on lab-vmtor on lab-vmgarage on lab-vmforgejo on lab-vmgithub-readme-stats on lab-vmpikpak-s3 on lab-vmartifact-sharing on lab-vmartifact-sharing-backup on lab-vmfinance-agent on lab-vmhermes-agent on lab-vmopencode2 on lab-vmbuzz on lab-vmbuzz-postgresql-backup on lab-vmvars/ · sops
Selected machine: its pin column and the cards it runsTall card: a service module from this repository · short card: a clan-core moduleTrack: deploys travel over the tailnetPublic ingress, greencloud-vps only

Machines · roles held

Inventory instances · hover to trace a row, click to pin it on the selected machine

Machines
5
Instances
16
Placements
40 of 80
Own service modules
9
Secret stores
1

The board on the right is clan.nix. Each of its five columns is wired to one cage, and the cage holds a card in exactly the slots where its column has a pin, so the row of cards in a machine always repeats the row of pins above its name. Move a pin and clan machines update carries the change down the track: the card is seated or pulled and the other cards stay where they are. Run it again without a change and every card is only checked. The three VMs stand on one tray because they share one hypervisor and one disk; the two VPS cages stand alone. The rack of spare cards is services/, and the safe is vars/, the one secret store, SOPS-encrypted in the repository instead of typed into a host. The small switches on each head count the shared modules/ that machine imports.