Update install.sh
This commit is contained in:
parent
c5735e2240
commit
fd80278233
15
install.sh
15
install.sh
|
@ -260,12 +260,25 @@ useradd -m $user &&
|
||||||
passwd $user &&
|
passwd $user &&
|
||||||
gpasswd -a $user wheel
|
gpasswd -a $user wheel
|
||||||
|
|
||||||
|
cat << EOF > /mnt//etc/X11/xorg.conf.d/00-keyboard.conf
|
||||||
|
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
|
||||||
|
# probably wise not to edit this file manually. Use localectl(1) to
|
||||||
|
# instruct systemd-localed to update it.
|
||||||
|
Section "InputClass"
|
||||||
|
Identifier "system-keyboard"
|
||||||
|
MatchIsKeyboard "on"
|
||||||
|
Option "XkbLayout" "de"
|
||||||
|
Option "XkbModel" "pc105"
|
||||||
|
Option "XkbVariant" "deadgraveacute"
|
||||||
|
EndSection
|
||||||
|
EOF
|
||||||
|
|
||||||
sed -i '82s/.*/%wheel ALL=(ALL) ALL/' /mnt/etc/sudoers
|
sed -i '82s/.*/%wheel ALL=(ALL) ALL/' /mnt/etc/sudoers
|
||||||
|
|
||||||
mkdir /mnt/etc/sddm.conf.d
|
mkdir /mnt/etc/sddm.conf.d
|
||||||
|
|
||||||
echo "[Autologin]" >> /mnt/etc/sddm.conf.d/autologin.conf
|
echo "[Autologin]" >> /mnt/etc/sddm.conf.d/autologin.conf
|
||||||
echo "User=hans" >> /mnt/etc/sddm.conf.d/autologin.conf
|
echo "User=$user" >> /mnt/etc/sddm.conf.d/autologin.conf
|
||||||
echo "Session=plasma" >> /mnt/etc/sddm.conf.d/autologin.conf
|
echo "Session=plasma" >> /mnt/etc/sddm.conf.d/autologin.conf
|
||||||
|
|
||||||
umount /mnt/boot
|
umount /mnt/boot
|
||||||
|
|
Loading…
Reference in New Issue