Files
nix-config/common/networking.nix
2021-06-24 22:50:12 -04:00

14 lines
193 B
Nix

{ pkgs, ... }:
{
services.tailscale.enable = true;
networking = {
firewall = {
allowPing = false;
enable = true;
trustedInterfaces = [ "tailscale0" ];
};
};
}