system/tailscale: only nat for dandelion
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run

This commit is contained in:
Cilly Leang 2026-06-17 00:10:23 +10:00
parent 20b5d96686
commit 5b666bf576
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -4,8 +4,9 @@
networking.firewall.trustedInterfaces = [ "tailscale0" ]; networking.firewall.trustedInterfaces = [ "tailscale0" ];
networking.firewall.allowedUDPPorts = lib.mkIf (config.me.environment == "headless") [ 123 ]; networking.firewall.allowedUDPPorts = lib.mkIf (config.me.environment == "headless") [ 123 ];
networking.nat = { networking.nat = lib.mkIf (config.networking.hostName == "dandelion") {
enable = true; enable = true;
externalInterface = "enp0s6";
internalInterfaces = [ "tailscaled0" ]; internalInterfaces = [ "tailscaled0" ];
forwardPorts = [ forwardPorts = [
{ {