blob: 7db0bf8950aff5acc39c03eab9746b4150f43c25 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/env nix-shell
#!nix-shell -i bash
# shellcheck shell=bash
set -Eeuo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
git crypt unlock
direnv allow
envsubst < vps-configuration.env.nix | ssh "$TLD" 'cat > /etc/nixos/vps-configuration.nix'
ssh "$TLD" sudo nixos-rebuild switch --upgrade
|