revert previous commit
svn path=/nixos/trunk/; revision=21128
This commit is contained in:
parent
b75d15a9a8
commit
46b109e97e
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user