Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
bitcoin-core # Bitcoin Core
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
bitcoin-core # Bitcoin Core
];
}
Package Definition
{
"pname": "bitcoin-core",
"version": "29.1",
"src": {
"url": "https://bitcoincore.org/bin/bitcoin-core-29.1/bitcoin-29.1-arm64-apple-darwin.zip",
"sha256": "cc2999866b86595eb864c5491a55383fbd0724e114a782d1ac64f52ca2da08da"
},
"installPhase": [
"mkdir -p \"$out/Applications/Bitcoin Core.app\" && cp -r \"Bitcoin-Qt.app\" \"$out/Applications\""
],
"meta": {
"description": "Bitcoin client and wallet",
"homepage": "https://bitcoincore.org/"
}
}