aboutsummaryrefslogtreecommitdiff
path: root/nixos-switch.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-09-19 06:21:30 -0300
committerEuAndreh <eu@euandre.org>2020-09-19 06:21:30 -0300
commit307171bf1f54caffa77fa212f3119ae1b8b82815 (patch)
tree563ef1b7f2de2ccc83064af62f2d846f87365054 /nixos-switch.sh
parentInitial setup of matrix with mautrix-whatsapp (diff)
downloadserver-307171bf1f54caffa77fa212f3119ae1b8b82815.tar.gz
server-307171bf1f54caffa77fa212f3119ae1b8b82815.tar.xz
Initial setup for Telegram in Matrix, but it is still not working
Diffstat (limited to 'nixos-switch.sh')
-rwxr-xr-xnixos-switch.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos-switch.sh b/nixos-switch.sh
index b53fbe4..a2d7fd3 100755
--- a/nixos-switch.sh
+++ b/nixos-switch.sh
@@ -22,7 +22,8 @@ envsubst < envsubst-configuration.nix | ssh "$TLD" 'cat > /etc/nixos/envsubst-co
echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S "\
sudo chown nextcloud:users ${SECRETS_ROOT}/nextcloud-admin.txt; \
sudo chown nextcloud:users ${SECRETS_ROOT}/nextcloud-database.txt;"
-scp mautrix-whatsapp.yaml "${TLD}:~/config.yaml"
+scp mautrix-whatsapp-config.yaml "${TLD}:/data/"
+scp secrets/mautrix-telegram-config.yaml "${TLD}:/data/"
# Run nixos-rebuild
scp vps-configuration.nix "${TLD}:/etc/nixos/configuration.nix"