mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-27 12:06:33 +03:00
87d0286498
Instead of forking this repo, it is now recommended that users simply import the nix-bitcoin module. This commit adds an example directory that contains the network/ examples and a shell.nix for deployment with nixops.
14 lines
289 B
Nix
14 lines
289 B
Nix
{
|
|
bitcoin-node =
|
|
{ config, pkgs, ... }:
|
|
{
|
|
deployment.targetEnv = "virtualbox";
|
|
deployment.virtualbox = {
|
|
memorySize = 4096; # megabytes
|
|
vcpu = 4; # number of cpus
|
|
disks.disk1.size = 358400; # 350 GiB
|
|
headless = true;
|
|
};
|
|
};
|
|
}
|