revert previous commit

svn path=/nixos/trunk/; revision=21128
This commit is contained in:
Rob Vermaas 2010-04-16 15:45:59 +00:00
parent b75d15a9a8
commit 46b109e97e

View File

@ -60,15 +60,6 @@ let
'';
};
virtualisation.readonlyHostFS =
mkOption {
default = true;
description =
''
Whether to mount the hostfs read-only.
'';
};
};
cfg = config.virtualisation;
@ -172,7 +163,7 @@ in
{ mountPoint = "/hostfs";
device = "//10.0.2.4/qemu";
fsType = "cifs";
options = "guest,username=nobody${if config.virtualisation.readonlyHostFS then ",noperm" else ""}";
options = "guest,username=nobody,noperm";
neededForBoot = true;
}
{ mountPoint = "/nix/store";