Choose even the first region in the browser; update Docker and Nix

A node now starts without any region (it only helps others connect, and
prints a hint). The owner's sign-in link leads straight to the Regions page
when none is followed, visitors get a notice instead of an empty search, and
status always lists regions as an array.

The Docker image no longer pins Bonn, the NixOS module no longer requires
regions, and the VM test now starts without any, chooses the first region
over the API and checks it survives a restart. README and the init hint
follow.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
This commit is contained in:
2026-11-18 10:41:10 +01:00
co-authored by Claude Sonnet 5.5
parent fd439710df
commit e3d0c12e55
18 changed files with 212 additions and 71 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ func cmdInit(args []string) error {
fmt.Printf("\nDone. This machine is set up as a device of identity %s…\n", dev.Cert.Author[:12])
fmt.Printf("Your device certificate is valid until %s.\n\n", time.Unix(dev.Cert.ExpiresAt, 0).Format("2006-01-02"))
fmt.Printf("Next: allmende run --region <region> --data %s\n", *data)
fmt.Printf("Next: allmende run --data %s\nThen open the sign-in link it prints and choose your region (or add --region <region> to start with one).\n", *data)
fmt.Printf("The admin token for publishing is in %s\n", filepath.Join(*data, tokenFile))
return nil
}