mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Merge pull request #1894 from sgruendel/mkinitcpio_module_thunderbolt
Add thunderbolt module in omarchy hook.
This commit is contained in:
@@ -3,6 +3,9 @@ if command -v limine &>/dev/null; then
|
||||
|
||||
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)
|
||||
EOF
|
||||
sudo tee /etc/mkinitcpio.conf.d/thunderbolt_module.conf <<EOF >/dev/null
|
||||
MODULES+=(thunderbolt)
|
||||
EOF
|
||||
|
||||
# Detect boot mode
|
||||
|
||||
@@ -10,6 +10,7 @@ avahi
|
||||
bash-completion
|
||||
bat
|
||||
bluetui
|
||||
bolt
|
||||
brightnessctl
|
||||
btop
|
||||
clang
|
||||
|
||||
11
migrations/1758455816.sh
Normal file
11
migrations/1758455816.sh
Normal 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
|
||||
Reference in New Issue
Block a user