sid.ovh/hosts/sid/services/headscale.nix
sid 245d853b05
Some checks failed
Build hosts / build-hosts (pull_request) Failing after 3s
Flake check / flake-check (pull_request) Failing after 3s
add hetzner-dns for intranet challenges
2026-04-03 15:36:07 +02:00

33 lines
511 B
Nix

{
inputs,
...
}:
{
imports = [
inputs.synix.nixosModules.headplane
inputs.synix.nixosModules.headscale
];
services.headplane = {
enable = true;
reverseProxy = {
enable = true;
subdomain = "hp";
};
};
services.headscale = {
enable = true;
openFirewall = true;
reverseProxy = {
enable = true;
subdomain = "hs";
};
settings = {
dns = {
magic_dns = true; # NOTE: should coredns handle everything?
};
};
};
}