Add an echo for setting corg configs.
This commit is contained in:
parent
c1eff37f80
commit
d249a02209
@ -130,7 +130,7 @@ echo "127.0.1.1 $hostname.localdomain $hostname" >> /etc/hosts
|
||||
mkinitcpio -P
|
||||
|
||||
echo "Downloading and setting better mirrorlist"
|
||||
pacman -S --noconfirm reflector rsync
|
||||
pacman -S --noconfirm --needed reflector rsync
|
||||
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
|
||||
reflector --latest 200 --sort rate --save /etc/pacman.d/mirrorlist
|
||||
|
||||
@ -139,7 +139,6 @@ echo "Setting up network managment"
|
||||
pacman -S --noconfirm networkmanager dhcpcd openresolv
|
||||
systemctl enable NetworkManager
|
||||
systemctl enable dhcpcd
|
||||
rm /etc/resolv.conf
|
||||
sed -i 's/#name_servers=127.0.0.1/name_servers="94.140.14.14 94.140.15.15 2a10:50c0::ad1:ff 2a10:50c0::ad2:ff"/' /etc/resolvconf.conf
|
||||
|
||||
echo "Setting up xorg, gpu drivers and my xorg configs"
|
||||
@ -161,6 +160,8 @@ echo "Do you have nvidia optimus [y/n]: "
|
||||
read optimus
|
||||
[[ $optimus = "y" ]] && [[ $nvidia = "y" ]] && pacman -S --needed --noconfirm nvidia-prime
|
||||
|
||||
echo "Setting xorg configurations"
|
||||
|
||||
mkdir -p /etc/X11/xorg.conf.d
|
||||
echo "Section "InputClass"
|
||||
Identifier "My Mouse"
|
||||
|
Loading…
Reference in New Issue
Block a user