fix headplane: disable strict config validation
NixOS headscale module generates a minimal config.yaml with only explicitly set values. Headplane with config_strict=true rejects this because fields like database, derp, dns, listen_addr are missing (headscale fills these with internal defaults). Setting config_strict to false makes headplane tolerate the incomplete config.
This commit is contained in:
parent
bd165bc592
commit
5225974c2a
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
||||||
headscale = {
|
headscale = {
|
||||||
url = "http://127.0.0.1:${toString constants.services.headscale.port}";
|
url = "http://127.0.0.1:${toString constants.services.headscale.port}";
|
||||||
public_url = "https://${constants.services.headscale.fqdn}";
|
public_url = "https://${constants.services.headscale.fqdn}";
|
||||||
|
config_strict = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue