23 lines
439 B
Nix
23 lines
439 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: with lib; let
|
|
domain = "head.nb.duckland.net";
|
|
in {
|
|
services = {
|
|
headscale = {
|
|
enable = true;
|
|
settings = {
|
|
server_url = "http://head.nb.duckland.net";
|
|
dns = {
|
|
base_domain = "nb.duckland.net";
|
|
nameservers = {
|
|
global = [ "1.1.1.1" "1.0.0.1" "2606:4700:4700::1111" "2606:4700:4700::1001" ];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|