From 56167eddb88e6da5bd88939dc31ace3b76fb033c Mon Sep 17 00:00:00 2001 From: Phillip Date: Sat, 7 Sep 2024 21:06:53 +0100 Subject: [PATCH] Comment out commands moved to install.sh --- scripts/1-root-config.sh | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/scripts/1-root-config.sh b/scripts/1-root-config.sh index f9075fd..af9c882 100644 --- a/scripts/1-root-config.sh +++ b/scripts/1-root-config.sh @@ -1,16 +1,16 @@ #!/bin/sh # Add "chaotic-aur" as a Pacman repository -pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com -pacman-key --lsign-key 3056513887B78AEB -pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' -pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst' +#pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com +#pacman-key --lsign-key 3056513887B78AEB +#pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' +#pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst' # Replace pacman.conf with the one installed from the earlier script -mv /etc/pacman.conf.tmp /etc/pacman.conf +#mv /etc/pacman.conf.tmp /etc/pacman.conf # Run full pacman sync -pacman -Syu +#pacman -Syu # Enable NetworkManager -systemctl enable NetworkManager +#systemctl enable NetworkManager # Set up system locale # pacman -S --noconfirm hunspell-en_gb # ln -sf /usr/share/zoneinfo/Europe/London /etc/localtime @@ -21,18 +21,18 @@ systemctl enable NetworkManager # Set the hostname of the system #echo archlinux > /etc/hostname # Install GRUB (this will need to be run again as the standard user in order to detect Windows) -echo "Installing bootloader" -grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB -grub-mkconfig -o /boot/grub/grub.cfg +#echo "Installing bootloader" +#grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB +#grub-mkconfig -o /boot/grub/grub.cfg # Create the standard user and add it to all neccesary groups -read -p 'Please type in a username for the standard user account: ' user -useradd -mG power,storage,wheel $user +#read -p 'Please type in a username for the standard user account: ' user +#useradd -mG power,storage,wheel $user # Set the password for the standard user -passwd $user +#passwd $user # Amend visudo (See ToDo) -EDITOR=nano visudo +#EDITOR=nano visudo # Disable the root account -passwd --lock root +#passwd --lock root # Install NVIDIA driver echo "Installing GPU drivers" pacman -S --noconfirm nvidia-dkms nvidia-utils lib32-nvidia-utils nvidia-settings