2025-05-11 22:49:04 +02:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
2025-03-23 22:48:46 +01:00
|
|
|
services.tailscale = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
2025-05-18 01:08:10 +02:00
|
|
|
useRoutingFeatures = "both"; # TODO
|
2025-03-23 22:48:46 +01:00
|
|
|
};
|
|
|
|
|
2025-05-18 01:08:10 +02:00
|
|
|
networking.firewall.trustedInterfaces = [
|
|
|
|
config.services.tailscale.interfaceName
|
|
|
|
];
|
2025-03-23 22:48:46 +01:00
|
|
|
}
|