diff options
author | lassulus <lassulus@lassul.us> | 2018-02-16 22:40:19 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-02-16 22:40:19 +0100 |
commit | e6486980dd1821d62aae4015092c7e719b23622b (patch) | |
tree | 5882176d32591e96269f18e5f14543da02427c74 /makefu/2configs | |
parent | 5187d0177c2c347838bac00fa981703bfd9a983e (diff) | |
parent | b28b86580d22e67d9a0552e96841643f77e03927 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs')
-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; +} |