more tailscale changes

This commit is contained in:
William 2024-09-23 15:16:11 -03:00
parent 1e1079d102
commit 2f62d64544
3 changed files with 6 additions and 5 deletions

View file

@ -9,9 +9,6 @@
{ {
networking = { networking = {
networkmanager.enable = true; networkmanager.enable = true;
firewall = { firewall.enable = true;
enable = true;
checkReversePath = "loose"; # Tailscale may fail without this
};
}; };
} }

View file

@ -11,6 +11,7 @@
printing.enable = true; printing.enable = true;
udev.packages = with pkgs; [ yubikey-personalization ]; udev.packages = with pkgs; [ yubikey-personalization ];
desktopManager.plasma6.enable = true; desktopManager.plasma6.enable = true;
tailscale.useRoutingFeatures = "client";
nginx = { nginx = {
enable = true; enable = true;
virtualHosts."localhost".root = inputs.homepage; virtualHosts."localhost".root = inputs.homepage;

View file

@ -1,5 +1,8 @@
{ ... }: { ... }:
{ {
services.tailscale.extraSetFlags = [ "--advertise-exit-node" ]; services.tailscale = {
extraSetFlags = [ "--advertise-exit-node" ];
useRoutingFeatures = "server";
};
} }