Extracted from my system configs. There's still a few issues with this
machine:
1. Audio is a lost cause. Will probably need to bribe an Apple or Cirrus
engineer for the datasheet.
2. The thunderbolt module will oops upon system resume, and subsequently
refuse to work until next reboot.
3. The d3cold state needs to be disabled on the NVME controller for it
to wake up.
4. The Bluetooth UART (/dev/ttyS0) is created and then deleted by udev
in early boot. I am yet to figure out why. Hack around it by
reloading the 8250_dw module, causing it to be re-created.
- We should not enable canTouchEfiVariables by default as this
wears out the EFI storage.
- We should not set systemd-boot as default. This is up to the user to
decide. There are exceptions when hardware only supports specific
bootloaders so.
Enforce proper naming: all paths are lowercase and hyphen-separated,
if there's a line of models (aspire, macbook-pro, thinkpad) it becomes
a subdirectory. Documentation for profiles is moved to README files in
respective directories.
Add an Org mode table that lists all available profiles and their paths.
Instead of fetching repo locally, use a Nix channel. Making hardware
profiles read-only should improve quality and amount of participation
long-term.