From ffa42deab1068d341d091274892b242b14932c2a Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 23 Aug 2020 07:15:11 -0300 Subject: Serve favicon from repo in cgit --- nixos-switch.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos-switch.sh') 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 "\ -- cgit v1.2.3