1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-09-19 07:04:42 -04:00

Update install.sh

This commit is contained in:
TommyTran732 2021-07-01 05:19:51 -04:00 committed by tommytran732
parent a776ec585b
commit 1862d6bdcf
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -259,7 +259,6 @@ arch-chroot /mnt /bin/bash -e <<EOF
mkdir /.snapshots
mount -a
chmod 750 /.snapshots
systemctl enable grub-btrfs.path
# Installing GRUB.
echo "Installing GRUB on /boot."
@ -276,28 +275,36 @@ echo "Setting root password."
arch-chroot /mnt /bin/passwd
# Enabling auto-trimming service.
echo "Enabling auto-trimming."
systemctl enable fstrim.timer --root=/mnt &>/dev/null
# Enabling NetworkManager service.
echo "Enabling NetworkManager."
echo "Enabling NetworkManager"
systemctl enable NetworkManager --root=/mnt &>/dev/null
# Enabling GDM.
systemctl enable gdm --root=/mnt &>/dev/null
# Enabling AppArmor.
echo "Enabling AppArmor."
systemctl enable apparmor --root=/mnt &>/dev/null
# Enabling Firewalld.
echo "Enabling Firewalld."
systemctl enable firewalld --root=/mnt &>/dev/null
# Enabling Bluetooth Service (If you don't want bluetooth, disable it with GNOME, don't disable the service).
systemctl enable bluetooth --root=/mnt &>/dev/null
# Enabling Reflector timer.
echo "Enabling Reflector."
systemctl enable reflector.timer --root=/mnt &>/dev/null
# Enabling Snapper automatic snapshots.
echo "Enabling Snapper and automatic snapshots entries."
systemctl enable snapper-timeline.timer --root=/mnt &>/dev/null
systemctl enable snapper-cleanup.timer --root=/mnt &>/dev/null
systemctl enable grub-btrfs.path --root=/mnt &>/dev/null
# Setting umask to 077.
sed -i 's/022/077/g' /mnt/etc/profile
echo "" >> /mnt/etc/bash.bashrc