diff options
author | EuAndreh <eu@euandre.org> | 2020-11-09 12:55:25 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-11-09 12:55:25 -0300 |
commit | 7e42355221f1fbe73f5a98ad4638915998cdb079 (patch) | |
tree | 70b26da8947878906594b9a1b6187837fe35f5b6 | |
parent | Point to repos in sr.ht instead on the same VPS for allowing bootstraping (diff) | |
download | toph-7e42355221f1fbe73f5a98ad4638915998cdb079.tar.gz toph-7e42355221f1fbe73f5a98ad4638915998cdb079.tar.xz |
nixos-switch.sh: Delete placeholder directory at the end
-rwxr-xr-x | nixos-switch.sh | 1 |
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/ |