This commit is contained in:
iFargle 2023-09-15 23:55:21 +09:00
parent 821bbb53c7
commit 3acdfae935

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" = true; };
# Temporary # Temporary
networking.firewall.allowedTCPPorts = [ 22 ]; networking.firewall.allowedTCPPorts = [ 22 ];