Hi Nicolas,

On Saturday 06 September 2014 20:25:43 Nicolas Pierron wrote:
> Have you tried listing it as an entry of the fileSystem of the vm, such as:
> 
> fileSystems."/host_home" = {
>   fsType = "vboxsf";
>   device = "hostHome";
> };
Thanks for the hint. I got it working with the following config:

      fileSystems."/host_home" = {
        fsType = "vboxsf";
        device = "hostHome";
        options = "ro";  # If you want it read-only
        noCheck = true;  # fsck would be pointless.
      };

Additionally, I had to add the vbox guest additions into the scope:

      system.fsPackages = [
        config.boot.kernelPackages.virtualboxGuestAdditions
      ];

Best,

Andreas
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to