aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/tests/nfs/simple.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/tests/nfs/simple.nix')
-rw-r--r--nixpkgs/nixos/tests/nfs/simple.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/nixpkgs/nixos/tests/nfs/simple.nix b/nixpkgs/nixos/tests/nfs/simple.nix
index a1a09ee0f45..c49ebddc2fd 100644
--- a/nixpkgs/nixos/tests/nfs/simple.nix
+++ b/nixpkgs/nixos/tests/nfs/simple.nix
@@ -5,13 +5,13 @@ let
client =
{ pkgs, ... }:
{ fileSystems = pkgs.lib.mkVMOverride
- [ { mountPoint = "/data";
- # nfs4 exports the export with fsid=0 as a virtual root directory
- device = if (version == 4) then "server:/" else "server:/data";
- fsType = "nfs";
- options = [ "vers=${toString version}" ];
- }
- ];
+ { "/data" =
+ { # nfs4 exports the export with fsid=0 as a virtual root directory
+ device = if (version == 4) then "server:/" else "server:/data";
+ fsType = "nfs";
+ options = [ "vers=${toString version}" ];
+ };
+ };
networking.firewall.enable = false; # FIXME: only open statd
};