Some fixes

This commit is contained in:
olari
2019-04-14 03:41:58 +03:00
parent b1c23bd28b
commit 1b02a9873f
2 changed files with 2 additions and 7 deletions

View File

@@ -174,7 +174,7 @@ create_chroot_script() {
#!/bin/sh
# Discard on use
rm $0
rm chroot_script.sh
# Sync clock
ln -sf /usr/share/zoneinfo/${REGION} /etc/localtime
@@ -212,11 +212,6 @@ echo "${USER}:${USER_PASS}" | chpasswd
# Enable sudo for wheel group
sed -i '1i%wheel ALL=(ALL) NOPASSWD: ALL' /etc/sudoers
# Install yay
su - ${USER} -c 'git clone https://aur.archlinux.org/yay.git; cd yay; makepkg -si; cd ..; rm -rf yay'
chsh -s /usr/bin/fish olari
# Enable services
systemctl enable gdm
systemctl enable NetworkManager