Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
haptic-touch-bar # Haptic Touch Bar
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
haptic-touch-bar # Haptic Touch Bar
];
} Package Definition
{
"pname": "haptic-touch-bar",
"version": "2.4.0,240,1540815050",
"src": {
"url": "https://dl.devmate.com/com.bopsoft.HapticTouchBar/240/1540815050/HapticTouchBar-240.zip",
"sha256": "c7b044f1516bb0912e863e2e3a3fd080fa06833eaddc0f056caf55a5e9df94b5"
},
"installPhase": [
"mkdir -p \"$out/Applications/Haptic Touch Bar.app\" && cp -r \"Haptic Touch Bar.app\" \"$out/Applications\""
],
"meta": {
"description": "Add haptic feedback to Touch Bar buttons",
"homepage": "https://www.haptictouchbar.com/"
}
}