tpwrules / nixos-apple-silicon

Resources to install NixOS bare metal on Apple Silicon Macs
MIT License
743 stars 73 forks source link

Add tiny-dfr package to support touchbars on 13-inch MBPs #137

Closed zzywysm closed 3 months ago

zzywysm commented 6 months ago

Fedora Asahi Remix ships a package called tiny-dfr that provides a basic function-key row on the MBP touchbar.

For feature parity, this project should ship the same code.

https://github.com/WhatAmISupposedToPutHere/tiny-dfr https://src.fedoraproject.org/rpms/rust-tiny-dfr

alyssais commented 6 months ago

https://github.com/NixOS/nixpkgs/pull/277549

I had to enable CONFIG_INPUT_TOUCHSCREEN for input to work.

tpwrules commented 4 months ago

I've enabled that config option for convenience. I'm deferring to upstream on the package itself, partially because I don't have that hardware to test with.

zzywysm commented 4 months ago

Did you also enable CONFIG_TOUCHSCREEN_APPLE_Z2=m? That's the actual driver for the touchbar, of which CONFIG_INPUT_TOUCHSCREEN is a prerequisite.

tpwrules commented 4 months ago

Yes, I did.

tpwrules commented 3 months ago

This seems better to have and maintain in nixpkgs. I have no way to test the package.