chore(nix): refactor Headscale service configuration
- Reorganized `settings` block to simplify and correct nesting. - Updated function arguments to include variadic parameters for extensibility.
This commit is contained in:
parent
62201776f3
commit
129630c163
1 changed files with 5 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config }:
|
||||
{ config, ... }:
|
||||
let
|
||||
domain = "headscale.hoyer.xyz";
|
||||
in
|
||||
|
|
@ -8,12 +8,11 @@ in
|
|||
enable = true;
|
||||
address = "0.0.0.0";
|
||||
port = 8080;
|
||||
server_url = "https://${domain}";
|
||||
dns = {
|
||||
baseDomain = "hoyer.tail";
|
||||
};
|
||||
settings = {
|
||||
logtail.enabled = false;
|
||||
server_url = "https://${domain}";
|
||||
dns = {
|
||||
baseDomain = "hoyer.tail";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue