diff --git a/install.sh b/install.sh index 6b0f3f2..4ceddde 100644 --- a/install.sh +++ b/install.sh @@ -14,6 +14,9 @@ # $pwrt = root password # $pwcr = encryption password +exec >> >(tee -i /tmp/install.log) +exec 2>&1 + clear # Friendly introduction. @@ -374,6 +377,25 @@ EOF echo "Done." echo +# Adding sddm config. +cat << EOF > /mnt/etc/sddm.conf.d/kde_settings.conf +[Autologin] +Relogin=false +Session=plasma +User=$user + +[General] +HaltCommand=/usr/bin/systemctl poweroff +RebootCommand=/usr/bin/systemctl reboot + +[Theme] +Current=breeze + +[Users] +MaximumUid=60513 +MinimumUid=1000 +EOF + # Unmounting and rebooting. echo "Unmounting system.." umount /mnt/boot &&