Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
haptickey # HapticKey
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
haptickey # HapticKey
];
} Package Definition
{
"pname": "haptickey",
"version": "0.7.0",
"src": {
"url": "https://github.com/niw/HapticKey/releases/download/0.7.0/HapticKey.app.zip",
"sha256": "f2f2cb1b8bc38cec80d430dabf3c8020c40a54b0380079e83294c62c7c108c53"
},
"installPhase": [
"mkdir -p \"$out/Applications/HapticKey.app\" && cp -r \"HapticKey.app\" \"$out/Applications\""
],
"meta": {
"description": "Trigger haptic feedback when tapping Touch Bar",
"homepage": "https://github.com/niw/HapticKey"
}
}