]> Git — Sourcephile - sourcephile-nix.git/blob - servers/mermet/machine/virtualbox.nix
mermet: add unlock target.
[sourcephile-nix.git] / servers / mermet / machine / virtualbox.nix
1 { pkgs, lib, config, options, nodes, ... }:
2 {
3 }
4 // lib.mkIf (builtins.hasAttr "mermet" nodes) {
5 deployment.targetEnv = "virtualbox";
6 deployment.virtualbox.headless = true;
7 deployment.virtualbox.memorySize = 1024;
8 deployment.virtualbox.vcpu = 2;
9 deployment.virtualbox.disks.disk1.baseImage = ../../../.cache/nixops/virtualbox/nixops.vmdk;
10 #deployment.virtualbox.disks.disk1.size = 6024;
11 # NOTE: resize not yet supported.
12
13 deployment.storeKeysOnMachine = true;
14 }