Merge pull request #1894 from sgruendel/mkinitcpio_module_thunderbolt

Add thunderbolt module in omarchy hook.
This commit is contained in:
Ryan Hughes
2025-12-14 15:25:55 -05:00
committed by GitHub
3 changed files with 15 additions and 0 deletions

View File

@@ -3,6 +3,9 @@ if command -v limine &>/dev/null; then
sudo tee /etc/mkinitcpio.conf.d/omarchy_hooks.conf <<EOF >/dev/null sudo tee /etc/mkinitcpio.conf.d/omarchy_hooks.conf <<EOF >/dev/null
HOOKS=(base udev plymouth keyboard autodetect microcode modconf kms keymap consolefont block encrypt filesystems fsck btrfs-overlayfs) HOOKS=(base udev plymouth keyboard autodetect microcode modconf kms keymap consolefont block encrypt filesystems fsck btrfs-overlayfs)
EOF
sudo tee /etc/mkinitcpio.conf.d/thunderbolt_module.conf <<EOF >/dev/null
MODULES+=(thunderbolt)
EOF EOF
# Detect boot mode # Detect boot mode

View File

@@ -10,6 +10,7 @@ avahi
bash-completion bash-completion
bat bat
bluetui bluetui
bolt
brightnessctl brightnessctl
btop btop
clang clang

11
migrations/1758455816.sh Normal file
View File

@@ -0,0 +1,11 @@
echo "Add thunderbolt support to boot image"
omarchy-pkg-add bolt
if [[ ! -f /etc/mkinitcpio.conf.d/thunderbolt_module.conf ]]; then
sudo tee /etc/mkinitcpio.conf.d/thunderbolt_module.conf <<EOF >/dev/null
MODULES+=(thunderbolt)
EOF
fi
sudo limine-update