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
|
||||
HOST=$2
|
||||
CONFIG=$3
|
||||
|
||||
set -x
|
||||
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" \
|
||||
--build-host $HOST \
|
||||
--target-host $HOST \
|
||||
--flake ".#${CONFIG}.noc.eh22.intern"
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
networking.nat = {
|
||||
enable = true;
|
||||
externalInterface = "ens19";
|
||||
externalInterface = "ens18";
|
||||
internalIPs = [ "10.20.25.0/24" ];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue