Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
bitbar # BitBar
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
bitbar # BitBar
];
} Package Definition
{
"pname": "bitbar",
"version": "1.10.1",
"src": {
"url": "https://github.com/matryer/bitbar/releases/download/v1.10.1/BitBar.app.zip",
"sha256": "8a7013dca92715ba80cccef98b84dd1bc8d0b4c4b603f732e006eb204bab43fa"
},
"installPhase": [
"mkdir -p \"$out/Applications/BitBar.app\" && cp -r \"BitBar.app\" \"$out/Applications\""
],
"meta": {
"description": "Utility to display the output from any script or program in the menu bar",
"homepage": "https://github.com/matryer/bitbar/"
}
}