< B / >

Clan

Started 5 hours ago Last edited 5 hours ago

The tool to manage homelabs.

Provides a really nice CLI over standard NixOS stuff, like setting up a new server, sshing onto the server, handling secrets management for all of your machines, setting up users everywhere, backing up state from your machines, and so on.

Clan services (services that span multiple machines are also pretty nice.)

Secrets are handled via the var abstraction. This lets us write generators for secrets so that they mostly already come prepackaged with the service one is using.

§ Useful commands

machines: [formenos]

§ ssh onto a machine

Terminal window
clan ssh formenos

§ Show machines

Terminal window
clan machines list

§ Update a machine

Terminal window
clan machines update formenos

§ Show the value of a secret

Terminal window
clan vars list formenos
# (pick one)
clan vars list root-password/password