aboutsummaryrefslogtreecommitdiff
path: root/nixos-switch.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-11-09 12:55:25 -0300
committerEuAndreh <eu@euandre.org>2020-11-09 12:55:25 -0300
commit7e42355221f1fbe73f5a98ad4638915998cdb079 (patch)
tree70b26da8947878906594b9a1b6187837fe35f5b6 /nixos-switch.sh
parentPoint to repos in sr.ht instead on the same VPS for allowing bootstraping (diff)
downloadtoph-7e42355221f1fbe73f5a98ad4638915998cdb079.tar.gz
toph-7e42355221f1fbe73f5a98ad4638915998cdb079.tar.xz
nixos-switch.sh: Delete placeholder directory at the end
Diffstat (limited to 'nixos-switch.sh')
-rwxr-xr-xnixos-switch.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos-switch.sh b/nixos-switch.sh
index 6ded091..f2df2ac 100755
--- a/nixos-switch.sh
+++ b/nixos-switch.sh
@@ -30,3 +30,4 @@ envsubst < envsubst-configuration.nix | ssh "$TLD" 'cat > /data/nixos/envsubst-c
scp vps-configuration.nix "${TLD}:/etc/nixos/configuration.nix"
echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S nix-channel --add "https://nixos.org/channels/nixos-unstable" nixos
echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S -i nixos-rebuild switch --upgrade
+ssh "$TLD" rm -rf /data/static/ci-logs/placeholder/