aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash-profile.sh1
-rwxr-xr-xnixos-switch.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/bash-profile.sh b/bash-profile.sh
new file mode 100644
index 0000000..a4dbf1d
--- /dev/null
+++ b/bash-profile.sh
@@ -0,0 +1 @@
+alias l='ls -lahp'
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