diff --git a/switch_remote.sh b/switch_remote.sh index 75f7374..2f7bb3f 100755 --- a/switch_remote.sh +++ b/switch_remote.sh @@ -4,13 +4,11 @@ set -euo pipefail ACTION=$1 HOST=$2 -CONFIG=$3 -set -x exec nixos-rebuild $ACTION \ --use-substitutes \ --no-build-nix \ --use-remote-sudo \ - --build-host $HOST \ - --target-host $HOST \ - --flake ".#${CONFIG}.noc.eh22.intern" + --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 3617e67..6e4d490 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 = "ens18"; + externalInterface = "ens19"; internalIPs = [ "10.20.25.0/24" ]; };