commit | 4d386d1b18de4a8916560703fc5f6554464d40ec | [log] [tgz] |
---|---|---|
author | Skyler Grey <minion@clicks.codes> | Sun Jun 09 16:05:44 2024 +0000 |
committer | Skyler Grey <minion@clicks.codes> | Sun Jun 09 18:49:58 2024 +0000 |
tree | 2eb19f75ad81c9cb8abe0d4cfc3191527a3278e8 | |
parent | 61f0f85eda302a42b06ccf9c8ff8c7a228d0bf42 [diff] [blame] |
feat(tailscale): Add base domain as search domain Doing this will allow access to other people's servers with "foo.username" rather than "foo.username.<base>". The likelihood of this causing trouble is minimal, but we may prefer to be careful to avoid allowing names that might conflict with existing TLDs Change-Id: I7d73a037bd999cfb94556a63d97387275e582195 Reviewed-on: https://git.clicks.codes/c/Infra/NixFiles/+/739 Tested-by: Skyler Grey <minion@clicks.codes> Reviewed-by: Samuel Shuert <coded@clicks.codes>
diff --git a/modules/nixos/clicks/services/headscale/default.nix b/modules/nixos/clicks/services/headscale/default.nix index 84be617..68ed4fc 100644 --- a/modules/nixos/clicks/services/headscale/default.nix +++ b/modules/nixos/clicks/services/headscale/default.nix
@@ -93,6 +93,7 @@ "1.1.1.1" "1.0.0.1" ]; + domains = [ cfg.url ]; override_local_dns = true; base_domain = cfg.url; };