diff --git a/install/login/limine-snapper.sh b/install/login/limine-snapper.sh index ce9fffbb..935f746e 100644 --- a/install/login/limine-snapper.sh +++ b/install/login/limine-snapper.sh @@ -1,6 +1,7 @@ if command -v limine &>/dev/null; then sudo tee /etc/mkinitcpio.conf.d/omarchy_hooks.conf </dev/null HOOKS=(base udev plymouth keyboard autodetect microcode modconf kms keymap consolefont block encrypt filesystems fsck btrfs-overlayfs) +FILES+=(/etc/vconsole.conf) EOF sudo tee /etc/mkinitcpio.conf.d/thunderbolt_module.conf </dev/null MODULES+=(thunderbolt) diff --git a/migrations/1783355853.sh b/migrations/1783355853.sh new file mode 100644 index 00000000..6c44856f --- /dev/null +++ b/migrations/1783355853.sh @@ -0,0 +1,11 @@ +echo "Bundle the console keymap into the initramfs so Plymouth uses the right keyboard layout at the LUKS prompt" + +HOOKS_CONF="/etc/mkinitcpio.conf.d/omarchy_hooks.conf" + +if [[ -f $HOOKS_CONF ]] && ! grep -q '/etc/vconsole.conf' "$HOOKS_CONF"; then + echo "FILES+=(/etc/vconsole.conf)" | sudo tee -a "$HOOKS_CONF" >/dev/null + + if omarchy-cmd-present limine-mkinitcpio; then + sudo limine-mkinitcpio + fi +fi