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