Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
switchbar # Switchbar
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
switchbar # Switchbar
];
} Package Definition
{
"pname": "switchbar",
"version": "33.0.1",
"src": {
"url": "https://cdn-2.webcatalog.io/switchbar/Switchbar-33.0.1-universal.dmg",
"sha256": "f678f64fd22bd1fb8cb9d99ce7262b52596bca8e4802647c576e4f2e193261d8"
},
"installPhase": [
"mkdir -p \"$out/Applications/Switchbar.app\" && cp -r \"Switchbar.app\" \"$out/Applications\""
],
"meta": {
"description": "Browser and email client picker",
"homepage": "https://switchbar.com/en"
}
}