From ec3a26041f51f8faa9086bf8ec6498a2b9c2fc6b Mon Sep 17 00:00:00 2001 From: Phillip Date: Sun, 8 Sep 2024 00:43:07 +0100 Subject: [PATCH] Removed root-config script --- scripts/1-root-config.sh | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 scripts/1-root-config.sh diff --git a/scripts/1-root-config.sh b/scripts/1-root-config.sh deleted file mode 100644 index 1917067..0000000 --- a/scripts/1-root-config.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# Install NVIDIA driver -echo "Installing GPU drivers" -pacman -S --noconfirm nvidia-dkms nvidia-utils lib32-nvidia-utils nvidia-settings -# Tweak systemd.conf and enable services for proper suspend/resume -echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1" >> /lib/modprobe.d/systemd.conf -systemctl enable nvidia-suspend.service -systemctl enable nvidia-hibernate.service -systemctl enable nvidia-resume.service -# Required to enable network changes -sysctl --system -# Install essential utilities -pacman -S --noconfirm yay ufw clamav hblock apparmor -# Move user script and associated files and change ownership to the new user -mkdir /home/$user/install -cp /buildscripts/2-* /home/$user/install -cp /userfiles/* /home/$user/install -chown -R $user:$user /home/$user/install -# Prompt the user to reboot -echo "Install complete, please reboot" -# Cleanup: Remove /buildscripts and /userfiles -rm -rf /buildscripts -rm -rf /userfiles \ No newline at end of file