commit 2c627794287bc9b9bd0c80a38a8989c8bf06d7da
parent fa0f0ce70930012978429697a54f6e7e1352c8c6
Author: Andrew Laack <andrew@laack.co>
Date: Mon, 9 Mar 2026 05:01:58 -0500
Updated public + private installers and backups
Diffstat:
3 files changed, 25 insertions(+), 6 deletions(-)
diff --git a/backups/pull.sh b/backups/pull.sh
@@ -9,8 +9,11 @@ COMMON_EXCLUDES=(
--exclude='venv/'
--exclude='BraveSoftware/'
--exclude='librewolf/'
+ --exclude='gitRepos/' # this is all versioned...
--exclude='venv/'
--exclude='personal-files' # already synced in another way.
+ # TODO: Why am I even backing anything up from homes? Shouldn't there be one
+ # sync directory (probably in /srv?) and then that has git repos + one dir for other stuff.
)
backup-vps () {
diff --git a/installers/arch-private-installation.sh b/installers/arch-private-installation.sh
@@ -6,6 +6,8 @@ for REPO in keys personal-notes passwords; do
git clone ssh://brgr:/srv/git/private-repos/$REPO
done
+cd
+
gpg --import gitRepos/keys/passwords/public-key.asc
gpg --import gitRepos/keys/passwords/private-key.asc
@@ -17,8 +19,9 @@ git config --global user.email "andrew@laack.co"
git config --global user.name "Andrew Laack"
git config --global credential.helper store
+cd ~
+mv .git-credentials git-credentials.old
ln -s ~/gitRepos/keys/git/credentials.txt .git-credentials
-mv ~/.git-credentials ~/gitRepos/keys/git-credentials.txt
cp ~/gitRepos/keys/ssh/id_ed25519* ~/.ssh/
chmod 600 ~/.ssh/id_ed25519*
diff --git a/installers/arch-public-installation.sh b/installers/arch-public-installation.sh
@@ -1,5 +1,13 @@
#!/bin/bash
# Full arch installer (publicly accessible resources only)
+# Run this first to pull this script and run it:
+# sudo pacman -S curl
+# cd
+# curl https://git.laack.co/andrewlaack/scripts/raw/branch/master/installers/arch-public-installation.sh > installer.sh
+# chmod +x installer.sh
+# ./installer.sh
+
+cd
sudo pacman -S git gcc make xorg-server libxft libxinerama freetype2 pkgconf ttf-fira-code zoxide fzf openssh less arandr pass pass-otp xclip newsboat xorg-xsetroot base-devel i3lock pandoc entr ripgrep wget jq man-db btop tmux rsync cronie mpv podman pavucontrol otf-latin-modern kwallet proton-vpn-gtk-app proton-vpn-cli tk brightnessctl zip unzip signal-desktop xorg-xset lynx figlet flameshot feh ffmpeg zathura-pdf-mupdf websocat xorg-xhost yt-dlp qemu-full qbittorrent alsa-utils pipewire-alsa pipewire-pulse sshfs
@@ -62,21 +70,26 @@ git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
-yay -S librewolf-bin
+
+rm -rf ~/gitRepos/yay
+
+yay -S librewolf-bin --noconfirm --nodiffmenu --noeditmenu --nocleanmenu
+
# Questionable.
# I really dislike their defaults (especially w/ tracking stuff)
# that said, it feels faster (blink and all that)
-yay -S brave-bin
+yay -S brave-bin --noconfirm --nodiffmenu --noeditmenu --nocleanmenu
# RELOCATION OF SELECT REPOS
-mv ~/gitRepos/dotfiles ~/.config
-mv ~/gitRepose/nvim ~/.config/nvim
+mv ~/gitRepose/nvim ~/gitRepos/dotfiles
# SETUP SYMLINKS (GITREPOS IS SOURCE OF TRUTH)
ln -s ~/gitRepos/dotfiles ~/.config
ln -s ~/gitRepos/bin ~/bin
+cd
+
for FILE in bashrc xinitrc inputrc ; do
ln -s .config/$FILE .$FILE
done
@@ -98,4 +111,4 @@ sudo systemctl start cronie
# 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!"
+echo "Time to open neovim and run :PackerSync a bunch, delete installer.sh, and run the private installer (if applicable)!"