nixos-mailserver/nixops/vbox.nix

10 lines
255 B
Nix
Raw Permalink Normal View History

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