Re: [Nix-dev] nixops virtualbox disk size

2015-06-17 Thread Tomas Hlavaty
There is also virtualization.diskSize. Hmm, sorry for misinformation. Although the name sounds quite universal, it is used only with qemu. It certainly works when writing tests that run in qemu VM. virtualisation.memorySize is used even in virtualbox tests but no diskSize. Virtualbox seems

Re: [Nix-dev] nixops virtualbox disk size

2015-06-17 Thread Joel Moberg
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

Re: [Nix-dev] nixops virtualbox disk size

2015-06-17 Thread Joel Moberg
You are going to have to build a custom image I think, maybe you can use the prebuilt, and resize it, look futher down the page here https://github.com/NixOS/nixops/blob/master/nix/virtualbox.nix#L132 . It looks like the main disk have to be on port 0. So if you would have virtualbox.disks.disk1 =

Re: [Nix-dev] nixops virtualbox disk size

2015-06-16 Thread Richard Wallace
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

Re: [Nix-dev] nixops virtualbox disk size

2015-06-16 Thread Joel Moberg
There is, config.virtualbox.baseImageSize, defined here: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/virtualisation/vir tualbox-image.nix#L13 ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] nixops virtualbox disk size

2015-06-16 Thread Tomas Hlavaty
There is also virtualization.diskSize. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] nixops virtualbox disk size

2015-06-16 Thread Richard Wallace
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

Re: [Nix-dev] nixops virtualbox disk size

2015-06-16 Thread Richard Wallace
How would that be used here? On Tue, Jun 16, 2015 at 1:09 PM, Tomas Hlavaty t...@logand.com wrote: There is also virtualization.diskSize. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] nixops virtualbox disk size

2015-06-15 Thread Richard Wallace
I'm trying to use nixops to deploy a service to VirtualBox (and eventually ec2). This service requires a very large /nix/store - it depends on a very large number of Haskell packages. During the deploy, I eventually see hiplambda exporting path