Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
authy # Authy Desktop
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
authy # Authy Desktop
];
} Package Definition
{
"pname": "authy",
"version": "2.5.0",
"src": {
"url": "https://pkg.authy.com/authy/stable/2.5.0/darwin/x64/Authy%20Desktop-2.5.0.dmg",
"sha256": "7116fa3638eedc66f947acbd75380e1e0f10e0d7e71369e3bb39ce99f8299455"
},
"installPhase": [
"mkdir -p \"$out/Applications/Authy Desktop.app\" && cp -r \"Authy Desktop.app\" \"$out/Applications\""
],
"meta": {
"description": "Two-factor authentication software",
"homepage": "https://authy.com/"
}
}