diff --git a/arch-install b/arch-install index ed2d101..4befa65 100755 --- a/arch-install +++ b/arch-install @@ -362,7 +362,7 @@ function installation { fi echo "" - if [ "${version}" == "libre" ] || [ "${offline}" == "n" ] || [ "${version}" == "manjaro" ]; then + if [ "${version}" == "libre" ] || [ "${version}" == "manjaro" ]; then echo "MODULES=\"i915 radeon ata_generic ata_piix nls_cp437 vfat ext4 btrfs\"" > ${mountpoint}/etc/mkinitcpio.conf echo "HOOKS=\"${parameter}\"" >> ${mountpoint}/etc/mkinitcpio.conf echo "COMPRESSION=\"lz4\"" >> ${mountpoint}/etc/mkinitcpio.conf @@ -1207,7 +1207,7 @@ if [ "${name}" != "noinstall" ] && [ -z "${installationsfehler}" ]; then arch-chroot ${mountpoint} chfn -f "${name}" user1 arch-chroot ${mountpoint} passwd user1 - if [ -f /usr/bin/lightdm ]; then + if [ -f ${mountpoint}/usr/bin/lightdm ]; then mkdir -p ${mountpoint}/etc/lightdm/ cp /opt/${repo}/Xsession /opt/${repo}/keys.conf /opt/${repo}/lightdm-gtk-greeter.conf /opt/${repo}/lightdm.conf /opt/${repo}/users.conf ${mountpoint}/etc/lightdm/ if [ "${autostart}" == "n" ]; then diff --git a/base.txt b/base.txt index e95e271..06bbd19 100755 --- a/base.txt +++ b/base.txt @@ -25,11 +25,14 @@ grub htop intel-ucode iw +lib32-nvidia-utils links mkinitcpio-nfs-utils nbd networkmanager ntp +nvidia +nvidia-utils openssh openvpn os-prober