[Nix-dev] nixops virtualbox disk size
Joel Moberg
joel.moberg at gmail.com
Tue Jun 16 21:06:58 CEST 2015
I don't use nixops but after looking in the repo i found this:
https://github.com/NixOS/nixops/blob/master/nix/virtualbox.nix#L42
So it should be: virtualbox.disks.mydisk = { port=1; size=123123123; };
Hope this works.
On Tue, Jun 16, 2015 at 8:56 PM, Richard Wallace <
rwallace at thewallacepack.net> wrote:
> Where should that be configured? In the examples in the manual <
> https://nixos.org/nixops/manual/#idm140737319351408> I tried adding it in
> trivial.nix as 'virtualbox.baseImageSize = "50G";' and tried adding it to
> trivial-vbox.nix as 'deployment.virtualbox.baseImageSize = "50G";' and
> neither seemed to have an affect.
>
> On Tue, Jun 16, 2015 at 11:25 AM, Joel Moberg <joel.moberg at gmail.com>
> wrote:
>
>> There is, config.virtualbox.baseImageSize, defined here:
>>
>> https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/vir
>> tualbox-image.nix#L13
>> <https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/virtualbox-image.nix#L13>
>>
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150616/280612ca/attachment.html
More information about the nix-dev
mailing list