tests: fix more loaOf deprecation warnings

This commit is contained in:
rnhmjoj
2020-02-17 09:57:35 +01:00
parent 3b7f5c6762
commit d7bc3a7534
3 changed files with 22 additions and 21 deletions
+7 -7
View File
@@ -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
};