* Added arch.conf file which is loaded from the UFD * Allows configuration without rebuilding the ISO * Added connect-to-network script that uses arch.conf * Available for manual execution from the command line * Used by mount-backup-shares * Added hardinfo with Conky hint and keyboard shortcut (Super+i) * Avoid deleting a newly created iso right after building * Conky * Settings can now be stored on the UFD * Transparancy fixed * mount-all-volumes doesn't print the mountpoint for ARCH_HH * NetworkManager should no longer hold up the boot time * Prime95 * Adjusted default length due to the summer heat * Fixed bug where hw-diags would let it run forever * Removed extra themes to try and reduce the overall size * Switching to nodm over lightdm
47 lines
1.5 KiB
Bash
47 lines
1.5 KiB
Bash
#!/bin/bash
|
|
|
|
set -e -u
|
|
|
|
# Locale
|
|
sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
|
|
locale-gen
|
|
|
|
# Time Settings
|
|
ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
|
|
#sed -i 's/#FallbackNTP/NTP/' /etc/systemd/timesyncd.conf
|
|
#timedatectl set-ntp true
|
|
|
|
# root user settings
|
|
usermod -s /usr/bin/zsh root
|
|
cp -aT /etc/skel/ /root/
|
|
chmod 700 /root
|
|
echo "root:Abracadabra" | chpasswd
|
|
|
|
# Add autologin group
|
|
groupadd -r autologin
|
|
|
|
# Add wktech user
|
|
useradd -m -s /bin/zsh -G autologin,storage,wheel -U wktech
|
|
echo "wktech:Abracadabra" | chpasswd
|
|
|
|
# Enable sudo for %wheel
|
|
echo '%wheel ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
|
|
|
|
# Set pacman mirrorlist
|
|
echo 'Server = http://arch.localmsp.org/arch/$repo/os/$arch' > /etc/pacman.d/mirrorlist
|
|
echo 'Server = http://arch.mirrors.ionfish.org/$repo/os/$arch' >> /etc/pacman.d/mirrorlist
|
|
echo 'Server = http://lug.mtu.edu/archlinux/$repo/os/$arch' >> /etc/pacman.d/mirrorlist
|
|
echo 'Server = http://mirror.rit.edu/archlinux/$repo/os/$arch' >> /etc/pacman.d/mirrorlist
|
|
echo 'Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch' >> /etc/pacman.d/mirrorlist
|
|
|
|
# journald settings (from archiso)
|
|
sed -i 's/#\(Storage=\)auto/\1volatile/' /etc/systemd/journald.conf
|
|
|
|
# logind settings (from archiso)
|
|
sed -i 's/#\(HandleSuspendKey=\)suspend/\1ignore/' /etc/systemd/logind.conf
|
|
sed -i 's/#\(HandleHibernateKey=\)hibernate/\1ignore/' /etc/systemd/logind.conf
|
|
sed -i 's/#\(HandleLidSwitch=\)suspend/\1ignore/' /etc/systemd/logind.conf
|
|
|
|
# Startup settings
|
|
#systemctl set-default multi-user.target
|
|
systemctl set-default graphical.target
|