15 lines
251 B
Nix
15 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];
|
||
|
}
|