install: split and harden hardware config scripts

This commit is contained in:
Ryan Hughes committed 2026-06-04 18:35:01 -04:00
1 parent 6056f8800c
commit d12d449b03
22 files changed
+95 -117

No files matched your search

+2 -1
View File
@@ -1,4 +1,5 @@
# Ensure that F-keys on Apple-like keyboards (such as Lofree Flow84) are always F-keys
if [[ ! -f /etc/modprobe.d/hid_apple.conf ]]; then
echo "options hid_apple fnmode=2" | sudo tee /etc/modprobe.d/hid_apple.conf
mkdir -p /etc/modprobe.d
echo "options hid_apple fnmode=2" > /etc/modprobe.d/hid_apple.conf
fi