diff options
author | step21 <step21@users.noreply.github.com> | 2019-01-18 10:22:15 +0100 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2019-01-18 09:22:15 +0000 |
commit | 586bbd20e8575d70a51152d7a598d7f038c6cd1b (patch) | |
tree | dcb68a89d5089cd6eb034864435a9a8ebec4877d | |
parent | f1d7cc678be7a98fbc6cb8e10dd57e50cf1eef16 (diff) | |
download | nixpkgs-586bbd20e8575d70a51152d7a598d7f038c6cd1b.tar nixpkgs-586bbd20e8575d70a51152d7a598d7f038c6cd1b.tar.gz nixpkgs-586bbd20e8575d70a51152d7a598d7f038c6cd1b.tar.bz2 nixpkgs-586bbd20e8575d70a51152d7a598d7f038c6cd1b.tar.lz nixpkgs-586bbd20e8575d70a51152d7a598d7f038c6cd1b.tar.xz nixpkgs-586bbd20e8575d70a51152d7a598d7f038c6cd1b.tar.zst nixpkgs-586bbd20e8575d70a51152d7a598d7f038c6cd1b.zip |
nixos/nixpkgs: virtualbox docs update (#54247)
-rw-r--r-- | nixos/doc/manual/installation/installing-virtualbox-guest.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nixos/doc/manual/installation/installing-virtualbox-guest.xml b/nixos/doc/manual/installation/installing-virtualbox-guest.xml index da78b480f5a..766785dfe07 100644 --- a/nixos/doc/manual/installation/installing-virtualbox-guest.xml +++ b/nixos/doc/manual/installation/installing-virtualbox-guest.xml @@ -77,18 +77,22 @@ Shared folders can be given a name and a path in the host system in the VirtualBox settings (Machine / Settings / Shared Folders, then click on the "Add" icon). Add the following to the - <literal>/etc/nixos/configuration.nix</literal> to auto-mount them: + <literal>/etc/nixos/configuration.nix</literal> to auto-mount them. If you + do not add <literal>"nofail"</literal>, the system will no boot properly. + The same goes for disabling <literal>rngd</literal> which is normally used + to get randomness but this does not work in virtual machines. </para> <programlisting> { config, pkgs, ...} : { + security.rngd.enable = false; // otherwise vm will not boot ... fileSystems."/virtualboxshare" = { fsType = "vboxsf"; device = "nameofthesharedfolder"; - options = [ "rw" ]; + options = [ "rw" "nofail" ]; }; } </programlisting> |