13 lines
384 B
Nix
13 lines
384 B
Nix
{ config, ... }:
|
|
{
|
|
services.tailscale = {
|
|
enable = true;
|
|
extraUpFlags = [ "--accept-routes" ];
|
|
};
|
|
|
|
networking.firewall.trustedInterfaces = [ config.services.tailscale.interfaceName ];
|
|
networking.firewall.allowedUDPPorts = [ config.services.tailscale.port ];
|
|
|
|
systemd.network.wait-online.enable = false;
|
|
boot.initrd.systemd.network.wait-online.enable = false;
|
|
}
|