nixos-framework-laptop-config/nixos/tailscale.nix

15 lines
251 B
Nix
Raw Normal View History

2024-12-28 19:33:49 -05:00
{
config,
lib,
pkgs,
...
}: {
services.tailscale = {
enable = true;
openFirewall = true;
};
# Implicitly trust packets routed over Tailscale
networking.firewall.trustedInterfaces = [config.services.tailscale.interfaceName];
}