From ba88e0a131fe8c1148cee3136f2548ac269d0f3c Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 24 Aug 2020 10:55:32 -0300 Subject: Add .bash_profile file and copy it with scp on deployment --- nixos-switch.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nixos-switch.sh') diff --git a/nixos-switch.sh b/nixos-switch.sh index 01e8817..6567e4c 100755 --- a/nixos-switch.sh +++ b/nixos-switch.sh @@ -9,6 +9,8 @@ echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S nix-channel --add "https://nixos.or echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S -i nixos-rebuild switch --upgrade rsync -avzP favicons/ "${TLD}:${DATA_ROOT}/favicons/" +scp bash-profile.sh "${TLD}:.bash_profile" + # shellcheck disable=2050 if [[ true = false ]]; then echo Ugly hack to change TLS certificates permissions -- cgit v1.2.3