Add migration system and fix bluetooth service + missing bat

This commit is contained in:
David Heinemeier Hansson
2025-06-28 11:46:28 -07:00
parent 96e18af390
commit 2a2a77685c
3 changed files with 29 additions and 0 deletions

8
migrations/1751134568.sh Normal file
View File

@ -0,0 +1,8 @@
# Turn on bluetooth service so blueberry works out the box
if systemctl is-enabled --quiet bluetooth.service && systemctl is-active --quiet bluetooth.service; then
# Bluetooth is already enabled, nothing to change
:
else
echo "Let's turn on Bluetooth service so the controls work"
sudo systemctl enable --now bluetooth.service
fi

3
migrations/1751135253.sh Normal file
View File

@ -0,0 +1,3 @@
# Add missing installation of bat
echo "Add missing installation of bat (used by the ff alias)"
yay -S --noconfirm --needed bat