Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
code-notes # Code Notes
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
code-notes # Code Notes
];
} Package Definition
{
"pname": "code-notes",
"version": "1.2.4",
"src": {
"url": "https://github.com/lauthieb/code-notes/releases/download/1.2.4/code-notes-1.2.4.dmg",
"sha256": "c3844123d14642d423f8f04e4fca1bbe7661c54b109cd8eb3eb1cfda8a6d8a60"
},
"installPhase": [
"mkdir -p \"$out/Applications/Code Notes.app\" && cp -r \"Code Notes.app\" \"$out/Applications\""
],
"meta": {
"description": "Code snippet manager",
"homepage": "https://lauthieb.github.io/code-notes/"
}
}