15 lines
280 B
Nix
15 lines
280 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
services.tailscale = {
|
|
enable = true;
|
|
package = pkgs.tailscale;
|
|
interfaceName = "tailscale0";
|
|
openFirewall = true;
|
|
port = 41641;
|
|
useRoutingFeatures = "both";
|
|
extraSetFlags = [
|
|
"--advertise-routes=192.168.12.0/24"
|
|
];
|
|
};
|
|
} |