|
|
@ -7,6 +7,7 @@ echo "CrystalLive" > /etc/hostname
|
|
|
|
#reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist
|
|
|
|
#reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist
|
|
|
|
echo "sudo reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist" >> /usr/bin/mirrorsetup
|
|
|
|
echo "sudo reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist" >> /usr/bin/mirrorsetup
|
|
|
|
chmod +x /usr/bin/mirrorsetup
|
|
|
|
chmod +x /usr/bin/mirrorsetup
|
|
|
|
|
|
|
|
|
|
|
|
# We don't add crystal until here so that our packages which change
|
|
|
|
# We don't add crystal until here so that our packages which change
|
|
|
|
# /etc/skel have been installed already
|
|
|
|
# /etc/skel have been installed already
|
|
|
|
useradd -m crystal
|
|
|
|
useradd -m crystal
|
|
|
@ -17,17 +18,20 @@ if [[ -d /etc/crystal/bootopts ]]; then
|
|
|
|
chmod +x /etc/crystal/bootopts/*
|
|
|
|
chmod +x /etc/crystal/bootopts/*
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "exec startplasma-x11" > /home/crystal/.xinitrc
|
|
|
|
|
|
|
|
cat >> /home/crystal/.zshrc << EOF
|
|
|
|
|
|
|
|
PROMPT="%n@%m %~ %# "
|
|
|
|
|
|
|
|
alias paste="nc termbin.com 9999"
|
|
|
|
|
|
|
|
menu
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
chown -R crystal:crystal /home/crystal/
|
|
|
|
chown -R crystal:crystal /home/crystal/
|
|
|
|
chmod +x /home/crystal/.xinitrc
|
|
|
|
chmod +x /home/crystal/.xinitrc
|
|
|
|
|
|
|
|
|
|
|
|
systemctl enable NetworkManager
|
|
|
|
systemctl enable NetworkManager
|
|
|
|
|
|
|
|
|
|
|
|
# IDK if we even *should* auto-set the theme
|
|
|
|
|
|
|
|
#sudo -u crystal lookandfeeltool -a org.kde.breezedark.desktop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# i'm tired ok
|
|
|
|
# i'm tired ok
|
|
|
|
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
|
|
|
|
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
|
|
|
|
locale-gen
|
|
|
|
locale-gen
|
|
|
|
echo "LANG=en_US.UTF-8" > /etc/locale.conf
|
|
|
|
echo "LANG=en_US.UTF-8" > /etc/locale.conf
|
|
|
|
ln -sf /usr/bin/amethyst /usr/bin/ame
|
|
|
|
|
|
|
|
echo "Configured the system. Exiting chroot."
|
|
|
|
echo "Configured the system. Exiting chroot."
|
|
|
|