Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
focus-booster # Focus Booster
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
focus-booster # Focus Booster
];
}
Package Definition
{
"pname": "focus-booster",
"version": "2.2.0",
"src": {
"url": "https://dcwy7j973b6zk.cloudfront.net/downloads/stable/focusbooster2.2.0.dmg",
"sha256": "a58f376eaa0588893bf64555699408af5cf0ab6c3f3a15558430c0c3ec1e8a1a"
},
"installPhase": [
"mkdir -p \"$out/Applications/focus booster.app\" && cp -r \"focus booster.app\" \"$out/Applications\""
],
"meta": {
"description": "Time tracker",
"homepage": "https://www.focusboosterapp.com/"
}
}