From 1250ee69441255c45f5e2ffd26cc19c292e1143b Mon Sep 17 00:00:00 2001 From: dataprolet Date: Thu, 2 Jul 2026 18:06:27 +0200 Subject: [PATCH] fix: create config dir --- install.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/install.sh b/install.sh index cfceecc..df1673b 100644 --- a/install.sh +++ b/install.sh @@ -375,6 +375,15 @@ arch-chroot "/mnt" localectl set-locale LANG=en_US.UTF-8 echo "KEYMAP=de-latin1-nodeadkeys" > "/mnt/etc/vconsole.conf" arch-chroot /mnt localectl set-keymap --no-convert de-latin1-nodeadkeys + +# Create keyboard layout +config_dir="/mnt/home/${user}/.config" +mkdir -p "${config_dir}" +cat << EOF > "mkdir -p "${config_dir}/kxkbrc" +[Layout] +LayoutList=de +Use=true +EOF echo "Done." echo @@ -460,13 +469,6 @@ arch-chroot /mnt useradd -m "${user}" echo -en "${pwur}\n${pwur}" | arch-chroot /mnt passwd "${user}" arch-chroot /mnt gpasswd -a "${user}" wheel sed -i '82s/.*/%wheel ALL=(ALL) ALL/' /mnt/etc/sudoers - -# Create keyboard layout -cat << EOF > "/mnt/home/${user}/.config/kxkbrc" -[Layout] -LayoutList=de -Use=true -EOF echo "Done." echo