Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
touchswitcher # TouchSwitcher
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
touchswitcher # TouchSwitcher
];
} Package Definition
{
"pname": "touchswitcher",
"version": "1.4.8",
"src": {
"url": "https://hazeover.com/touchswitcher/TouchSwitcher-1.4.8.txz",
"sha256": "78aa139d5b9e0ac16b340019d05cb897929c6e0a57733394496748e3724d5775"
},
"installPhase": [
"mkdir -p \"$out/Applications/TouchSwitcher.app\" && cp -r \"TouchSwitcher.app\" \"$out/Applications\""
],
"meta": {
"description": "Use the Touch Bar to switch apps",
"homepage": "https://hazeover.com/touchswitcher.html"
}
}