scripts

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 0a027d844ba123162c0612baf47f5ecc9a453c4e
parent 70f37f084920d36a15790c10b488cc5d70f6a9e1
Author: Andrew Laack <andrew@laack.co>
Date:   Fri, 20 Feb 2026 16:54:32 -0600

Updated installer docker -> podman. Updated backup scripts to exclude ephemeral directories

Diffstat:
Mbackups/pull.sh | 14+++++++++++---
Minstallers/arch-public-installation.sh | 13++++++-------
2 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/backups/pull.sh b/backups/pull.sh @@ -1,5 +1,14 @@ #!/bin/bash +COMMON_EXCLUDES=( + --exclude='.cache/' + --exclude='.local/share/containers/' # podman + --exclude='node_modules/' # gross, but sometimes exist + --exclude='__pycache__/' + --exclude='.venv/' + --exclude='venv/' +) + backup-vps () { # Website + blog mkdir -p /home/backup/vps/srv @@ -27,13 +36,12 @@ backup-brgr() { # Home directory mkdir -p /home/backup/brgr/home - rsync -v --delete --recursive andrew@brgr:/home/andrew /home/backup/brgr/home - + rsync -v --delete --recursive "${COMMON_EXCLUDES[@]}" andrew@brgr:/home/andrew /home/backup/brgr/home } backup-deepthought() { mkdir -p /home/backup/deepthought/home - rsync -v --delete --recursive andrew@deepthought:/home/andrew /home/backup/deepthought/home + rsync -v --delete --recursive "${COMMON_EXCLUDES[@]}" andrew@deepthought:/home/andrew /home/backup/deepthought/home } if [ -n "$(hostnamectl | grep deepthought)" ] ; then diff --git a/installers/arch-public-installation.sh b/installers/arch-public-installation.sh @@ -1,7 +1,7 @@ #!/bin/bash # Full arch installer (publicly accessible resources only) -sudo pacman -S git gcc make xorg-server libxft libxinerama freetype2 pkgconf ttf-fira-code zoxide fzf openssh less arandr dmenu pass pass-otp xclip newsboat xorg-xsetroot base-devel i3lock pandoc zathura entr ripgrep wget jq man-db btop tmux rsync cronie mpv docker pavucontrol otf-latinmodern proton-vpn-gtk-app proton-vpn-cli tk brightnessctl +sudo pacman -S git gcc make xorg-server libxft libxinerama freetype2 pkgconf ttf-fira-code zoxide fzf openssh less arandr dmenu pass pass-otp xclip newsboat xorg-xsetroot base-devel i3lock pandoc zathura entr ripgrep wget jq man-db btop tmux rsync cronie mpv podman pavucontrol otf-latinmodern proton-vpn-gtk-app proton-vpn-cli tk brightnessctl zip unzip fc-cache @@ -41,7 +41,6 @@ git clone https://aur.archlinux.org/yay.git cd yay makepkg -si yay -S librewolf-bin -yay -S pwvucontrol # RELOCATION OF SELECT REPOS mv ~/gitRepos/dotfiles ~/.config @@ -63,13 +62,13 @@ sudo systemctl enable cronie sudo systemctl start cronie # TODO: Should I use docker or podman / some other OCI image thing? -sudo systemctl enable docker -sudo systemctl start docker +# sudo systemctl enable docker +# sudo systemctl start docker # DOCKER -sudo groupadd docker -sudo usermod -aG docker $USER -echo "Docker configured to run as your current user. Log out for this to be realized." +# sudo groupadd docker +# sudo usermod -aG docker $USER +# echo "Docker configured to run as your current user. Log out for this to be realized." # DONE echo "Time to open neovim and run :PackerSync a thousand times!"