Compare commits
2 commits
d1ac02ee46
...
c21d2b97a7
| Author | SHA1 | Date | |
|---|---|---|---|
|
c21d2b97a7 |
|||
|
6eaf81e5a6 |
2 changed files with 6 additions and 4 deletions
|
|
@ -4,11 +4,13 @@ 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 "noc@10.20.25.2" \
|
--build-host $HOST \
|
||||||
--target-host "noc@10.20.25.2" \
|
--target-host $HOST \
|
||||||
--flake ".#$HOST" \
|
--flake ".#${CONFIG}.noc.eh22.intern"
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
networking.nat = {
|
networking.nat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
externalInterface = "ens19";
|
externalInterface = "ens18";
|
||||||
internalIPs = [ "10.20.25.0/24" ];
|
internalIPs = [ "10.20.25.0/24" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue