From 6eaf81e5a61ef776335c192983a18b6faf4f6a48 Mon Sep 17 00:00:00 2001 From: lilly Date: Fri, 21 Feb 2025 18:46:23 +0100 Subject: [PATCH] fix sketchy-router nating --- switch_remote.sh | 2 -- systems/sketchy-router.noc.eh22.intern.nix | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/switch_remote.sh b/switch_remote.sh index 2f7bb3f..af27fb2 100755 --- a/switch_remote.sh +++ b/switch_remote.sh @@ -9,6 +9,4 @@ exec nixos-rebuild $ACTION \ --use-substitutes \ --no-build-nix \ --use-remote-sudo \ - --build-host "noc@10.20.25.2" \ - --target-host "noc@10.20.25.2" \ --flake ".#$HOST" \ diff --git a/systems/sketchy-router.noc.eh22.intern.nix b/systems/sketchy-router.noc.eh22.intern.nix index 6e4d490..3617e67 100644 --- a/systems/sketchy-router.noc.eh22.intern.nix +++ b/systems/sketchy-router.noc.eh22.intern.nix @@ -29,7 +29,7 @@ networking.nat = { enable = true; - externalInterface = "ens19"; + externalInterface = "ens18"; internalIPs = [ "10.20.25.0/24" ]; };