commit 7b807fea16b6599c3ef521998ce9201126d9899e
parent a9bcb2f6fe4d6033ba800813dc0ff6e92094a369
Author: Andrew Laack <andrew@laack.co>
Date: Wed, 22 Apr 2026 01:44:47 -0500
Refactoring for new site arrangements
Diffstat:
3 files changed, 10 insertions(+), 15 deletions(-)
diff --git a/backups/old/pull.sh b/backups/old/pull.sh
@@ -18,11 +18,11 @@ COMMON_EXCLUDES=(
)
backup-vps () {
- # Website + blog
+ # Website + blog + git stuff
mkdir -p /home/backup/vps/srv
rsync -v --delete --recursive root@laack.co:/srv/ /home/backup/vps/srv
- # Forgejo
+ # ?
mkdir -p /home/backup/vps/var
rsync -v --delete --recursive root@laack.co:/var/ /home/backup/vps/var
diff --git a/backups/simple.sh b/backups/simple.sh
@@ -30,12 +30,12 @@ fi
# - private:
# - these live at brgr:/srv/git/private-repos/
# - public:
-# - these live at root@laack.co:/var/lib/forgejo
+# - these live at root@laack.co:/srv/git/
# Sync directory
# - brgr:~/personal-files
# - this is where music, videos, photos, and large encrypted data should live
#
-# Backups should be of /srv/ on brgr and /var/lib/forgejo on the vps.
+# Backups should be of /srv/ on brgr and /srv/git on the vps.
#
# Synced data should be in ~/personal-files. These don't really require backups because they
# are just nice to have on all systems.
diff --git a/installers/arch-public-installation.sh b/installers/arch-public-installation.sh
@@ -1,17 +1,9 @@
#!/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
-
-# TODO: env variable for gitRepo directory and all that jazz.
cd
-sudo pacman -S git gnome-keyring gcc make xorg-server libxft libxinerama freetype2 pkgconf ttf-fira-code zoxide fzf openssh less arandr pass pass-otp xclip xorg-xsetroot base-devel i3lock pandoc entr ripgrep wget jq man-db btop tmux rsync cronie mpv podman pavucontrol otf-latin-modern 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 iotop lsof neovim wireshark-qt nmap torbrowser-launcher bandwhich ghidra bind-tools whois dunst thunderbird graphviz gomuks element-desktop
+sudo pacman -S curl git gnome-keyring gcc make xorg-server libxft libxinerama freetype2 pkgconf ttf-fira-code zoxide fzf openssh less arandr pass pass-otp xclip xorg-xsetroot base-devel i3lock pandoc entr ripgrep wget jq man-db btop tmux rsync cronie mpv podman pavucontrol otf-latin-modern 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 iotop lsof neovim wireshark-qt nmap torbrowser-launcher bandwhich ghidra bind-tools whois dunst thunderbird graphviz gomuks element-desktop
# REMOVED:
# newsboat -- too distracting, I would check it too frequently
@@ -65,12 +57,15 @@ mkdir gitRepos
cd gitRepos
# Get all of my public repos, parse the urls for cloning.
-REPOS=$(curl -X 'GET' 'https://git.laack.co/api/v1/repos/search?limit=100000' -H 'accept: application/json' | jq | grep clone_url | awk '{print $2}' | sed 's/\"/ /g' | sed 's/,/ /g')
+REPOS=$(curl -s https://git.laack.co/ | grep -oP '(?<=<a href=")[^/]+(?=/log.html)')
for REPO in $REPOS; do
git clone $REPO
done
+
+# TODO: Migrate to stagit again
+
mv scripts bin
# INSTALLATION SUCKLESS UTILS
@@ -80,7 +75,7 @@ for REPO in dwm dmenu st; do
cd ..
done
-go install git.laack.co/andrewlaack/usb-ks@64b02669e38c8a1099492523a93b11757e5754d1
+go install github.com/andrewlaack/usb-ks@64b02669e38c8a1099492523a93b11757e5754d1
sudo install ~/go/bin/usb-ks /usr/local/bin/
# EXTERNAL REPOS