nixos-mailserver/nixops/vbox.nix

10 lines
255 B
Nix
Raw Normal View History

2017-08-11 14:06:54 +02:00
{
mailserver =
{ config, pkgs, ... }:
{ deployment.targetEnv = "virtualbox";
deployment.virtualbox.memorySize = 1024; # megabytes
deployment.virtualbox.vcpu = 2; # number of cpus
deployment.virtualbox.headless = true;
};
}