misc_nixos-mailserver/nixops/vbox.nix

10 lines
255 B
Nix
Raw Permalink Normal View History

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