diff options
| author | EuAndreh <eu@euandre.org> | 2020-08-23 07:15:11 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2020-08-23 07:15:11 -0300 |
| commit | ffa42deab1068d341d091274892b242b14932c2a (patch) | |
| tree | b236d77890aa8f123e18b306277a661b17aed53d /nixos-switch.sh | |
| parent | Rename data-folder-init systemd service (diff) | |
| download | server-ffa42deab1068d341d091274892b242b14932c2a.tar.gz server-ffa42deab1068d341d091274892b242b14932c2a.tar.xz | |
Serve favicon from repo in cgit
Diffstat (limited to 'nixos-switch.sh')
| -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 2ef7533..12a7dfe 100755 --- a/nixos-switch.sh +++ b/nixos-switch.sh @@ -7,6 +7,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")" envsubst < vps-configuration.env.nix | ssh "$TLD" 'cat > /etc/nixos/configuration.nix' echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S nix-channel --add "https://nixos.org/channels/nixos-${SYSTEM_STATE_VERSION}" nixos echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S -i nixos-rebuild switch --upgrade +rsync -avzP favicons/ "${TLD}:${DATA_ROOT}/favicons/" # Ugly hack to change TLS certificates permissions echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S "\ |
