 post_install() {
    # Enable services
        systemctl enable amlogic.service sound.service
    # Disable hardware acceleration (Panfrost is not quite ready on Bifrost GPUs yet)
        echo "QT_QUICK_BACKEND=software" >> /etc/environment
    # Edit fstab
        echo "LABEL=BOOT_MNJRO  /boot   vfat    defaults        0       0" >> /etc/fstab
	# Edit mkinitcpio.conf
		echo "Editing mkinitcpio.conf..."
		sed -i s/"HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)"/"HOOKS=(base udev plymouth autodetect modconf block filesystems keyboard fsck)"/g /etc/mkinitcpio.conf
		sed -i s/"MODULES=()"/"MODULES=(meson_drm meson_dw_hdmi display_connector)"/g /etc/mkinitcpio.conf
    # Edit boot.ini
        echo "Editing boot.ini..."
        sed -i s!"bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash"!"quiet splash plymouth.ignore-serial-consoles"!g /boot/boot.ini
    # Set Plymouth Manjaro theme
        if [ -f /usr/bin/plymouth-set-default-theme ] && [ -d /usr/share/plymouth/themes/materia-manjaro ]; then
        plymouth-set-default-theme -R materia-manjaro
        fi
}
