This commit is contained in:
iFargle 2023-09-15 23:54:02 +09:00
parent d5aa2f1687
commit 821bbb53c7

View file

@ -42,7 +42,7 @@
}; };
services.tailscale.authKeyFile = "/run/secrets/nixos-rpi4-01_tailscale_key"; services.tailscale.authKeyFile = "/run/secrets/nixos-rpi4-01_tailscale_key";
services.tailscale.extraUpFlags = [ "--advertise-exit-node" ]; services.tailscale.extraUpFlags = [ "--advertise-exit-node" ];
boot.kernel.sysctl = { "net.ipv4.ip_forward = 1" }; boot.kernel.sysctl = { "net.ipv4.ip_forward = 1"; };
# Temporary # Temporary
networking.firewall.allowedTCPPorts = [ 22 ]; networking.firewall.allowedTCPPorts = [ 22 ];