misc_nixos-mailserver/nixops/vbox.nix
2017-08-11 14:06:54 +02:00

9 lines
255 B
Nix

{
mailserver =
{ config, pkgs, ... }:
{ deployment.targetEnv = "virtualbox";
deployment.virtualbox.memorySize = 1024; # megabytes
deployment.virtualbox.vcpu = 2; # number of cpus
deployment.virtualbox.headless = true;
};
}