diff options
author | makefu <github@syntax-fehler.de> | 2018-02-14 09:41:59 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-02-14 09:41:59 +0100 |
commit | 931e25894dc43f7c7e37026f3cc29427aa07ba80 (patch) | |
tree | 2d52d792e1f3d96c2e9e832f227c87640117840b /makefu/2configs/hw | |
parent | 372d965133cfe224d4cd47f63ec1fd2c8475c1ae (diff) |
ma vbox-guest: init
Diffstat (limited to 'makefu/2configs/hw')
-rw-r--r-- | makefu/2configs/hw/vbox-guest.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/makefu/2configs/hw/vbox-guest.nix b/makefu/2configs/hw/vbox-guest.nix new file mode 100644 index 000000000..3ba8ef902 --- /dev/null +++ b/makefu/2configs/hw/vbox-guest.nix @@ -0,0 +1,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; +} |