diff options
| author | EuAndreh <eu@euandre.org> | 2020-08-10 14:35:42 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2020-08-10 14:38:39 -0300 |
| commit | b7e4e8bb145215f992a5dceaf676c105f6296452 (patch) | |
| tree | 114facd62b960d2c6947664544208df759cef271 /nixos-update.sh | |
| parent | nixfmt ./secrets/nix/e1d5f317b0f7a-snapshot-configuration.nix (diff) | |
| download | server-b7e4e8bb145215f992a5dceaf676c105f6296452.tar.gz server-b7e4e8bb145215f992a5dceaf676c105f6296452.tar.xz | |
Interactive Terraform plan -> apply cycle
Diffstat (limited to 'nixos-update.sh')
| -rwxr-xr-x | nixos-update.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos-update.sh b/nixos-update.sh index b4deb7e..d8a3750 100755 --- a/nixos-update.sh +++ b/nixos-update.sh @@ -4,9 +4,6 @@ set -Eeuo pipefail cd "$(dirname "${BASH_SOURCE[0]}")" -git crypt unlock -direnv allow - envsubst < vps-configuration.env.nix | ssh "$TLD" 'cat > /tmp/tmp.nix' echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S mv /tmp/tmp.nix /etc/nixos/configuration.nix echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S -i nixos-rebuild switch --upgrade |
