🔧 Where my dotfiles lives in harmony and peace, most of the time

🖥️ Add workstation setup target and script. Configure tmpfs for /tmp in system setup. Simplify post-installation notes

+15 -5
+5 -5
Makefile
··· 73 73 laptop: 74 74 @ ${DOTFILES}/laptop/setup.sh 75 75 76 + .PHONY: workstation 77 + workstation: 78 + @ ${DOTFILES}/workstation/setup.sh 79 + 76 80 .PHONY: post-installation 77 81 post-installation: 78 82 @ echo "GPU Setup" 79 83 @ echo "Pacman/paru config" 80 - @ echo "tmpfs for /tmp" 81 - @ echo "Disable CPU mitigations (https://wiki.archlinux.org/title/Improving_performance#Turn_off_CPU_exploit_mitigations)" 82 - @ echo "Configure solaar" (https://wiki.archlinux.org/title/Logitech_Unifying_Receiver) 83 - @ echo "Enable PAM" (https://wiki.archlinux.org/title/GNOME/Keyring) 84 - @ echo "Enable SSH Agent" (https://wiki.archlinux.org/title/GNOME/Keyring#SSH_keys) 84 + @ echo "Performance Kernel Parameters"
+5
system/setup.sh
··· 31 31 sudo rm -f /etc/sysctl.d/99-swappiness.conf 32 32 sudo cp "${DOTFILES}/system/99-swappiness.conf" /etc/sysctl.d/99-swappiness.conf 33 33 34 + tmpfs_entry='tmpfs /tmp tmpfs defaults,noatime,mode=1777,size=2G 0 0' 35 + if ! grep -Eq '^\s*tmpfs\s+/tmp\s+tmpfs\b' /etc/fstab; then 36 + echo "$tmpfs_entry" | sudo tee -a /etc/fstab >/dev/null 37 + fi 38 + 34 39 # Network Manager 35 40 if ! systemctl is-enabled --quiet NetworkManager.service; then 36 41 systemctl enable --now NetworkManager.service
+5
workstation/setup.sh
··· 1 + #!/usr/bin/env bash 2 + 3 + set -euo pipefail 4 + 5 + echo "Configure solaar (https://wiki.archlinux.org/title/Logitech_Unifying_Receiver)"