[Nix-dev] nixops virtualbox disk size

Richard Wallace rwallace at thewallacepack.net
Tue Jun 16 21:12:54 CEST 2015


Unfortunately, that just creates an additional disk and is not used as the
root partition or for the /nix/store. If I could figure out how to get it
used for either of those that option would work great, but I haven't been
able to do that yet.

On Tue, Jun 16, 2015 at 12:06 PM, Joel Moberg <joel.moberg at gmail.com> wrote:

> 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/444775cd/attachment.html 


More information about the nix-dev mailing list