diff options
author | Alex Auvolat <alex@adnab.me> | 2022-04-19 22:03:58 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-04-19 22:03:58 +0200 |
commit | db081fad0e3b3933ca963fae085fd0c5c0764f80 (patch) | |
tree | dbd3850beeed0b1b8b53a48f3f19c4a73dc64c59 /deploy.sh | |
parent | 9ff81afd7ea75c583adaef3a49e9b28b45185d99 (diff) | |
download | nixcfg-db081fad0e3b3933ca963fae085fd0c5c0764f80.tar.gz nixcfg-db081fad0e3b3933ca963fae085fd0c5c0764f80.zip |
First working Wesher configuration
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -42,6 +42,7 @@ for NIXHOST in $NIXHOSTLIST; do 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 nix/wesher_service.nix | ssh -F $SSH_CONFIG $SSH_DEST tee $TMP_PATH/wesher_service.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 @@ -59,7 +60,7 @@ for NIXHOST in $NIXHOSTLIST; do set -ex cd $TMP_PATH -mv deuxfleurs.nix remote-unlock.nix wesher.nix configuration.nix cluster.nix node.nix site.nix /etc/nixos +mv deuxfleurs.nix remote-unlock.nix wesher.nix wesher_service.nix configuration.nix cluster.nix node.nix site.nix /etc/nixos nixos-rebuild switch |