Compare commits
2 changed files with 4 additions and 6 deletions
|
|
@ -4,13 +4,11 @@ set -euo pipefail
|
||||||
|
|
||||||
ACTION=$1
|
ACTION=$1
|
||||||
HOST=$2
|
HOST=$2
|
||||||
CONFIG=$3
|
|
||||||
|
|
||||||
set -x
|
|
||||||
exec nixos-rebuild $ACTION \
|
exec nixos-rebuild $ACTION \
|
||||||
--use-substitutes \
|
--use-substitutes \
|
||||||
--no-build-nix \
|
--no-build-nix \
|
||||||
--use-remote-sudo \
|
--use-remote-sudo \
|
||||||
--build-host $HOST \
|
--build-host "noc@10.20.25.2" \
|
||||||
--target-host $HOST \
|
--target-host "noc@10.20.25.2" \
|
||||||
--flake ".#${CONFIG}.noc.eh22.intern"
|
--flake ".#$HOST" \
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
networking.nat = {
|
networking.nat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
externalInterface = "ens18";
|
externalInterface = "ens19";
|
||||||
internalIPs = [ "10.20.25.0/24" ];
|
internalIPs = [ "10.20.25.0/24" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue