nicks-nix-config/hosts/Alaska/modules/tailscale.nix

12 lines
275 B
Nix
Raw Normal View History

2023-08-05 09:56:57 -07:00
{ config, ... }:
{
services.tailscale.enable = true;
# Defined here to indicate the settings are related
networking.firewall = {
checkReversePath = "loose";
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
}