Headplane
A feature-complete Web UI for Headscale.
View the synix NixOS module on Forgejo.
References
Sops
Provide the following entries to your secrets.yaml:
Replace
abc123with your actual secrets
Generate your cookie secret with:
Generate your agent pre-authkey with:
sudo headscale users create headplane-agent
sudo headscale users list # get headplane-agent user id
sudo headscale preauthkeys create --expiration 99y --reusable --user <HEADPLANE-AGENT-ID>
Setup
Set a CNAME record for your Headplane subdomain (headplane by default) pointing to your domain.
Config
# configuration.nix
{
imports = [ inputs.synix.nixosModules.headplane ];
services.headplane = {
enable = true;
};
}
Usage
Create a Headscale API key:
Visit the admin login page: https://sub.domain.tld/admin/login