summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/vbox-guest.nix
blob: 3ba8ef902d62490f50fc7d643bbb219bcad6a5bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ lib, ...}:
{
  ## Guest Extensions are currently broken
  imports = [
    # (toString <nixpkgs/nixos/modules/virtualisation/virtualbox-image.nix>)
  ];
  # virtualisation.virtualbox.guest.enable = true;
  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;
}