miko: fix up touch bar & t2 things

This commit is contained in:
Kate 2024-11-27 11:02:51 -07:00
parent 22d94a5ea4
commit 461207e8c4
2 changed files with 8 additions and 1 deletions

View file

@ -19,6 +19,10 @@
extraRules = ''
# Brother p-touch cube
SUBSYSTEM == "usb", ATTRS{idVendor} == "04f9", ATTRS{idProduct} == "20af", MODE = "0666"
# If we have a Apple T2 VHCI, force it to re-start once things are more up.
# This forces a re-enumeration of the connected devices, and thus makes things like the touch bar work reliably.
ACTION=="add", SUBSYSTEM=="usb", ATTR{serial}=="bce-vhci", ATTR{authorized}=="1", ATTR{authorized}="0", ATTR{authorized}="1"
'';
};

View file

@ -18,7 +18,10 @@
# Use the more up-to-date touchBar option to enabel the touchbar.
hardware.apple-t2.enableTinyDfr = false;
hardware.apple.touchBar.enable = true;
hardware.apple.touchBar = {
enable = true;
settings = {};
};
# Bootloader.
boot.loader.systemd-boot.enable = true;