Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
knockknock # KnockKnock
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
knockknock # KnockKnock
];
}
Package Definition
{
"pname": "knockknock",
"version": "3.0.1",
"src": {
"url": "https://github.com/objective-see/KnockKnock/releases/download/v3.0.1/KnockKnock_3.0.1.zip",
"sha256": "0029d8ee08951dec29c02404935de09919a3517b62addc046bf2d30b0afcdc01"
},
"installPhase": [
"mkdir -p \"$out/Applications\" && cp -r \"KnockKnock.app\" \"$out/Applications/KnockKnock.app\""
],
"meta": {
"description": "Tool to show what is persistently installed on the computer",
"homepage": "https://objective-see.com/products/knockknock.html"
}
}