Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
touchbarserver # TouchBarServer
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
touchbarserver # TouchBarServer
];
} Package Definition
{
"pname": "touchbarserver",
"version": "1.6",
"src": {
"url": "https://github.com/bikkelbroeders/TouchBarDemoApp/releases/download/v1.6/TouchBarServer.zip",
"sha256": "c3adffbaed14d12feaf5300995f78e63fbbc2a99733f76549f5a4b071ce86a82"
},
"installPhase": [
"mkdir -p \"$out/Applications/TouchBarServer.app\" && cp -r \"TouchBarServer.app\" \"$out/Applications\""
],
"meta": {
"homepage": "https://github.com/bikkelbroeders/TouchBarDemoApp"
}
}