15 lines
204 B
Nix
15 lines
204 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
services.tailscale =
|
|
{
|
|
enable = true;
|
|
}
|
|
// lib.optionalAttrs pkgs.stdenv.isLinux {
|
|
openFirewall = true;
|
|
useRoutingFeatures = "server";
|
|
};
|
|
}
|