2018-02-14 08:41:59 +00:00
|
|
|
{ lib, ...}:
|
|
|
|
{
|
|
|
|
## Guest Extensions are currently broken
|
|
|
|
imports = [
|
2018-02-16 19:48:56 +00:00
|
|
|
(toString <nixpkgs/nixos/modules/virtualisation/virtualbox-image.nix>)
|
2018-02-14 08:41:59 +00:00
|
|
|
];
|
2018-02-16 19:48:56 +00:00
|
|
|
virtualisation.virtualbox.guest.enable = true;
|
2018-02-14 08:41:59 +00:00
|
|
|
services.xserver.videoDrivers = lib.mkOverride 45 [ "virtualbox" "modesetting" ];
|
|
|
|
|
|
|
|
fileSystems."/media/share" = {
|
|
|
|
fsType = "vboxsf";
|
|
|
|
device = "share";
|
|
|
|
options = [ "rw" "uid=9001" "gid=9001" "nofail" ];
|
|
|
|
};
|
|
|
|
# virtualbox.baseImageSize = 35 * 1024;
|
|
|
|
}
|