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