refactor(headscale.nix): update settings structure and add comments
- Updated `dns_config` to `dns` and adjusted nested fields accordingly. - Commented out default log level and base domain for clarity. - Changed `ip_prefixes` to `prefixes.v4` to match expected configuration format.
This commit is contained in:
parent
2b17b0b463
commit
949b5f8f21
@ -29,17 +29,20 @@ in
|
||||
|
||||
settings = {
|
||||
server_url = "https://${domain}";
|
||||
log.level = "debug";
|
||||
dns_config = {
|
||||
# log.level = "debug";
|
||||
dns = {
|
||||
magic_dns = false;
|
||||
base_domain = domain;
|
||||
# base_domain = domain;
|
||||
override_local_dns = true;
|
||||
nameservers = [
|
||||
global = [
|
||||
config.architect.networks.tailscale.devices.architect.address
|
||||
];
|
||||
nameservers.global = [
|
||||
config.architect.networks.tailscale.devices.architect.address
|
||||
];
|
||||
};
|
||||
logtail.enabled = false;
|
||||
ip_prefixes = [ config.architect.networks.tailscale.net ];
|
||||
prefixes.v4 = config.architect.networks.tailscale.net;
|
||||
noise.private_key_path = "/var/lib/headscale/noise_private.key";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user