diff options
author | EuAndreh <eu@euandre.org> | 2020-08-24 10:55:32 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-08-24 10:55:32 -0300 |
commit | ba88e0a131fe8c1148cee3136f2548ac269d0f3c (patch) | |
tree | aa856fe8225017f42c88857b8568b8f43cbff641 /nixos-switch.sh | |
parent | Disable prosody (diff) | |
download | server-ba88e0a131fe8c1148cee3136f2548ac269d0f3c.tar.gz server-ba88e0a131fe8c1148cee3136f2548ac269d0f3c.tar.xz |
Add .bash_profile file and copy it with scp on deployment
Diffstat (limited to 'nixos-switch.sh')
-rwxr-xr-x | nixos-switch.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |