diff options
author | Alex Auvolat <alex@adnab.me> | 2022-04-19 17:41:18 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-04-19 17:41:18 +0200 |
commit | 3d8989b9c918bd4e4b1f8b9a8d294c308fc0b8d9 (patch) | |
tree | 6e06494880c55f758190d315528d6e6b20496b9d /deploy.sh | |
parent | 65902d47800473a709c0c89ff2edfd3170b3c49c (diff) | |
download | nixcfg-infinite-recursion.tar.gz nixcfg-infinite-recursion.zip |
nix infinite recursioninfinite-recursion
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -41,6 +41,7 @@ for NIXHOST in $NIXHOSTLIST; do cat nix/configuration.nix | ssh -F $SSH_CONFIG $SSH_DEST tee $TMP_PATH/configuration.nix > /dev/null cat nix/deuxfleurs.nix | ssh -F $SSH_CONFIG $SSH_DEST tee $TMP_PATH/deuxfleurs.nix > /dev/null cat nix/remote-unlock.nix | ssh -F $SSH_CONFIG $SSH_DEST tee $TMP_PATH/remote-unlock.nix > /dev/null + cat nix/wesher.nix | ssh -F $SSH_CONFIG $SSH_DEST tee $TMP_PATH/wesher.nix > /dev/null cat cluster/$CLUSTER/cluster.nix | ssh -F $SSH_CONFIG $SSH_DEST tee $TMP_PATH/cluster.nix > /dev/null cat cluster/$CLUSTER/node/$NIXHOST.nix | ssh -F $SSH_CONFIG $SSH_DEST tee $TMP_PATH/node.nix > /dev/null cat cluster/$CLUSTER/node/$NIXHOST.site.nix | ssh -F $SSH_CONFIG $SSH_DEST tee $TMP_PATH/site.nix > /dev/null @@ -58,7 +59,7 @@ for NIXHOST in $NIXHOSTLIST; do set -ex cd $TMP_PATH -mv deuxfleurs.nix remote-unlock.nix configuration.nix cluster.nix node.nix site.nix /etc/nixos +mv deuxfleurs.nix remote-unlock.nix wesher.nix configuration.nix cluster.nix node.nix site.nix /etc/nixos nixos-rebuild switch |