nixos-framework-laptop-config/nixos/tailscale.nix
2024-12-28 19:33:49 -05:00

14 lines
251 B
Nix

{
config,
lib,
pkgs,
...
}: {
services.tailscale = {
enable = true;
openFirewall = true;
};
# Implicitly trust packets routed over Tailscale
networking.firewall.trustedInterfaces = [config.services.tailscale.interfaceName];
}