Set default size of the virtualbox machine disk

This eliminates the manual resize step in vbox deployment
This commit is contained in:
Erik Arvstedt
2019-11-08 16:01:47 +01:00
parent a50dc981af
commit 6e26453689
2 changed files with 11 additions and 12 deletions
+6 -3
View File
@@ -3,8 +3,11 @@
{ config, pkgs, ... }:
{
deployment.targetEnv = "virtualbox";
deployment.virtualbox.memorySize = 4096; # megabytes
deployment.virtualbox.vcpu = 4; # number of cpus
deployment.virtualbox.headless = true;
deployment.virtualbox = {
memorySize = 4096; # megabytes
vcpu = 4; # number of cpus
disks.disk1.size = 358400; # 350 GiB
headless = true;
};
};
}