1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/nixos
aszlig cd4caed35a
nixos/filesystems: Improve vboxsf default options.
The default options for all file systems currently are
"defaults.relatime", which works well on file systems which support the
relatime option.

Unfortunately, this is not the case for the VirtualBox shared folder
filesystem, so until now, you need to set something like:

fileSystems."/foo" = {
  device = "foo";
  fsType = "vboxsf";
  options = "defaults";
};

Otherwise mounting the file system would fail.

Now, we provide only the "defaults" option to the "vboxsf" file system,
so something like this is enough:

fileSystems."/foo" = {
  device = "foo";
  fsType = "vboxsf";
};

An alternative to that could be to document that you need to set default
options, but we really should do what users expect instead of forcing
them to look up the documentation as to why this has failed.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-09-21 22:32:14 +02:00
..
doc/manual Update 15.09 release notes 2015-09-21 11:17:25 +02:00
lib nixos: move left-behind allowUnfree comment 2015-09-03 01:17:10 +02:00
maintainers Update option-usages.nix expression to work with newer version of the module system. 2015-08-09 17:52:34 +02:00
modules nixos/filesystems: Improve vboxsf default options. 2015-09-21 22:32:14 +02:00
tests tests/virtualbox: Add a subtest for host USB. 2015-09-21 22:32:13 +02:00
COPYING
default.nix
README
release-combined.nix Disable lightdm test 2015-08-17 10:48:04 +02:00
release-small.nix release-small.nix: Drop the grub1 test 2015-08-11 13:51:55 +02:00
release.nix nixos tests: add gdm test 2015-09-15 14:25:36 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.