mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-23 06:42:51 +03:00
6e26453689
This eliminates the manual resize step in vbox deployment
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;
|
|
};
|
|
};
|
|
}
|