tpwrules / nixos-apple-silicon

Resources to install NixOS bare metal on Apple Silicon Macs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

zzywysm opened this issue · comments

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

NixOS/nixpkgs#277549

I had to enable CONFIG_INPUT_TOUCHSCREEN for input to work.

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.

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.

Yes, I did.

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