miko: fix up touch bar & t2 things
This commit is contained in:
parent
22d94a5ea4
commit
461207e8c4
2 changed files with 8 additions and 1 deletions
|
@ -19,6 +19,10 @@
|
||||||
extraRules = ''
|
extraRules = ''
|
||||||
# Brother p-touch cube
|
# Brother p-touch cube
|
||||||
SUBSYSTEM == "usb", ATTRS{idVendor} == "04f9", ATTRS{idProduct} == "20af", MODE = "0666"
|
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"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,7 +18,10 @@
|
||||||
|
|
||||||
# Use the more up-to-date touchBar option to enabel the touchbar.
|
# Use the more up-to-date touchBar option to enabel the touchbar.
|
||||||
hardware.apple-t2.enableTinyDfr = false;
|
hardware.apple-t2.enableTinyDfr = false;
|
||||||
hardware.apple.touchBar.enable = true;
|
hardware.apple.touchBar = {
|
||||||
|
enable = true;
|
||||||
|
settings = {};
|
||||||
|
};
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue