system/tailscale: open port 123 on headless
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
This commit is contained in:
parent
ea17ef30c6
commit
75f9cc9d2b
1 changed files with 3 additions and 1 deletions
|
|
@ -1,7 +1,9 @@
|
|||
{ config, ... }: {
|
||||
{ config, lib, ... }: {
|
||||
age.secrets.tailscale_auth.file = ../../secrets/tailscale_auth.age;
|
||||
me.binds."/var/lib/tailscale" = "tailscale";
|
||||
networking.firewall.trustedInterfaces = [ "tailscale0" ];
|
||||
networking.firewall.allowedUdpPorts = lib.mkIf config.me.environment == "headless" [ 123 ];
|
||||
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
authKeyFile = config.age.secrets.tailscale_auth.path;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue