Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
todoist-app # Todoist
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
todoist-app # Todoist
];
}
Package Definition
{
"pname": "todoist-app",
"version": "9.17.0",
"src": {
"url": "https://electron-dl.todoist.com/mac/Todoist-darwin-9.17.0-arm64-latest.dmg",
"sha256": "27a5e3adef5e1c7b7a144e6ad76fec9170730344a5a5c82942c46a4b9ba6ea8b"
},
"installPhase": [
"mkdir -p \"$out/Applications/Todoist.app\" && cp -r \"Todoist.app\" \"$out/Applications\""
],
"meta": {
"description": "To-do list",
"homepage": "https://todoist.com/home"
}
}