stockholm/makefu/2configs/hw/vbox-guest.nix

17 lines
468 B
Nix
Raw Normal View History

2018-02-14 08:41:59 +00:00
{ lib, ...}:
{
## Guest Extensions are currently broken
imports = [
(toString <nixpkgs/nixos/modules/virtualisation/virtualbox-image.nix>)
2018-02-14 08:41:59 +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;
}