diff --git a/docs/README.md b/docs/README.md index 66fce3c..d6e3e75 100644 --- a/docs/README.md +++ b/docs/README.md @@ -12,12 +12,9 @@ This folder contains a bunch of general information on how to get the base of a Items marked ```REQUIRED``` are assumed to be setup and working. You've been warned. * [Base Firmware (REQUIRED)](base.md) -* [Finalize Arch Setup (REQUIRED)](finalize_setup.md) +* [Finalize Setup (REQUIRED)](finalize_setup.md) * [Setup swap (REQUIRED)](swap.md) -* [journald Tweaks (make it less chatty and resource hungry)](journald.md) -* [Standard Raspberry Pi Toolchain Setup (REQUIRED)](rpi_tools.md) * [CPU Governor](cpu_governor.md) -* [AUR Package Manager (REQUIRED)](aur_package_manager.md) * [Slideshow Prep (REQUIRED)](slideshow_prep.md) * [Slideshow Setup (REQUIRED)](slideshow.md) * [Email Notifications (REQUIRED)](email_notifications.md) diff --git a/docs/aur_package_manager.md b/docs/aur_package_manager.md deleted file mode 100644 index 00b4da1..0000000 --- a/docs/aur_package_manager.md +++ /dev/null @@ -1,26 +0,0 @@ -# AUR Package Manager - -This project uses some packages from the Arch Linux AUR repos. As such, we are going to setup a package manager for those packages. Pacman doesn't support the AUR repos natively and this is the most accessible approach for installing AUR packages. - -The commands below will setup the ```yay``` AUR package manager. - -``` sh - -pacman -S --needed base-devel go -useradd yay -s /usr/bin/nologin -mkdir /home/yay -chown yay: -R /home/yay -git clone https://aur.archlinux.org/yay.git /opt/yay -chown yay: -R /opt/yay/ -cd /opt/yay -cat > /etc/sudoers.d/yay <> ~/.bashrc < /mnt/arch/boot/config.txt < /etc/default/cpufrequtils < /etc/locale.conf -sed -i "s/#en_US.UTF-8/en_US.UTF-8/" /etc/locale.gen -locale-gen +sudo -sHu root /bin/bash + +# Useful packages +apt install build-essential cmake nano tmux vim htop iotop nload git + +# Raspberry Pi tools +apt install linux-tools-raspi +mkdir /opt/raspberry-pi +cd /opt/raspberry-pi +git clone https://github.com/raspberrypi/userland.git +cd userland +./buildme --aarch64 +cat > /etc/profile.d/rpi-tools.sh < /etc/systemd/journald.conf.d/00-wall.conf < /etc/systemd/journald.conf.d/00-journal-size.conf < /etc/systemd/journald.conf.d/00-audit.conf < /etc/systemd/journald.conf.d/00-console.conf < /home/fim/.fimrc < /usr/local/bin/fim-slideshow.sh < /etc/systemd/system/fim.service < /etc/incron.d/feh < /usr/local/bin/feh-slideshow.sh <> /etc/greetd/config.toml <> /etc/fstab < /etc/sysctl.d/99-sysctl.conf +echo 'vm.swappiness=1' > /etc/sysctl.d/99-swap.conf echo "/swap/swap.1 none swap defaults 0 0" >> /etc/fstab swapon -a