12 lines
196 B
Nix
12 lines
196 B
Nix
{ config, ... }:
|
|
{
|
|
networking.firewall = {
|
|
trustedInterfaces = [ config.services.tailscale.interfaceName ];
|
|
};
|
|
|
|
services.tailscale = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
};
|
|
}
|