17 lines
425 B
Nix
17 lines
425 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
services.tailscale.enable = true;
|
|
networking.firewall = {
|
|
trustedInterfaces = [ config.services.tailscale.interfaceName ];
|
|
allowedUDPPorts = [ config.services.tailscale.port ];
|
|
};
|
|
|
|
systemd.services.tailscaled.serviceConfig.Environment = [
|
|
"TS_DEBUG_FIREWALL_MODE=nftables"
|
|
];
|
|
|
|
systemd.network.wait-online.enable = false;
|
|
boot.initrd.systemd.network.wait-online.enable = false;
|
|
}
|