vi /etc/fstab
-grub-install --removable /dev/nvme0n1p4
+# We deinstall grub-efi-arm64-signed- because it creates a file fbaa64.efi
+# which makes u-boot hang.
+apt-get install grub-efi grub-efi-arm64-signed-
+grub-install --target=arm64-efi --efi-directory=/boot/efi --removable
+# Set removable media to yes and nvram to no to make later grub updates work
dpkg-reconfigure grub-efi-arm64
update-initramfs -k all -c
EOF
# Swap command and option (windows and alt like on a pc keyboard)
-setxkbmap -option altwin:swap_alt_win
+echo 1 > /sys/module/hid_apple/parameters/swap_opt_cmd
# Configure the touchpad
cat > /etc/X11/xorg.conf.d/30-input.conf <<'EOF'