diff options
author | jeschli <jeschli@gmail.com> | 2018-02-28 20:10:42 +0000 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2018-02-28 20:10:42 +0000 |
commit | a7e49dd5fc590ba2ccb26d559d672767c87a7692 (patch) | |
tree | 3d0fb66d17085f1288037da1b4d9987fa402e40e /makefu/2configs/hw/vbox-guest.nix | |
parent | 4a2af184e6846f80b139357c6230558cd8785b10 (diff) | |
parent | 4c0d0f64ed21d3d7292bb5e8900d973e649375c1 (diff) |
Merge branch 'staging/jeschli' of prism.i:stockholm into staging/jeschli
Diffstat (limited to 'makefu/2configs/hw/vbox-guest.nix')
-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..65f915a2f --- /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; +} |