mirror of
https://github.com/michaelthomson0797/nixos-server.git
synced 2026-03-21 19:17:23 +00:00
update: new urls, and 1 master 1 agent
This commit is contained in:
12
modules/tailscale.nix
Normal file
12
modules/tailscale.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
useRoutingFeatures = "server";
|
||||
extraSetFlags = [ "--advertise-exit-node" "--advertise-routes=10.0.0.0/8,192.168.18.0/24" ];
|
||||
extraUpFlags = [ "--advertise-exit-node" "--advertise-routes=10.0.0.0/8,192.168.18.0/24" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user