Created
January 3, 2021 00:35
-
-
Save darkmuggle/465a66005b6e8a6170c60320dda7a73b to your computer and use it in GitHub Desktop.
MacBook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Notes for Fedora 33 on Macbook Pro 14,1 | |
# Set fractional DPI | |
gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']" | |
# Disable Typing | |
gsettings set org.gnome.desktop.peripherals.touchpad disable-while-typing true | |
# Drivers at boot | |
cat > /etc/modules-load.d/macbook.conf <<EOM | |
apple_bl | |
applesmc | |
applespi | |
appletouch | |
brcmfmac | |
brcmutil | |
EOM | |
# Set NVME Options | |
echo 'install nvme /sbin/modprobe --ignore-install nvme $CMDLINE_OPTS; echo 106b 2003 > /sys/bus/pci/drivers/nvme/new_id' | sudo tee /etc/modprobe.d/nvme.conf | |
# Drivers in initramfs | |
# During installation, if using disk-encryption, run these this after `chroot /mnt/sysroot` | |
cat > /etc/dracut.conf.d/disk.conf <<EOM | |
force_drivers+=" nvme hid_apple applesmc apple_bl applespi appletouch thunderbolt " | |
add_drivers+=" thunderbolt dm_crypt appledisplay applespi spi_pxa2xx_platform hid_apple appletouch " | |
EOM | |
# Generate the Initramfs | |
dracut -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment