12 lines
229 B
Nix
12 lines
229 B
Nix
{ config, ... }:
|
|
{
|
|
services.tailscale = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
useRoutingFeatures = "both"; # TODO
|
|
};
|
|
|
|
networking.firewall.trustedInterfaces = [
|
|
config.services.tailscale.interfaceName
|
|
];
|
|
}
|