diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2020-02-17 09:57:35 +0100 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2020-02-17 09:57:35 +0100 |
commit | d7bc3a753452faed3dac6ad9914dcdd0e4bee2f0 (patch) | |
tree | 4dd8df1d4e130c130e5771b1531a60717a960e19 /nixos/tests/glusterfs.nix | |
parent | 3b7f5c6762bb174bd9951a697b636e1db531e98a (diff) |
tests: fix more loaOf deprecation warnings
Diffstat (limited to 'nixos/tests/glusterfs.nix')
-rw-r--r-- | nixos/tests/glusterfs.nix | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/nixos/tests/glusterfs.nix b/nixos/tests/glusterfs.nix index 8f9cb8973d51e..cb07bc09511dd 100644 --- a/nixos/tests/glusterfs.nix +++ b/nixos/tests/glusterfs.nix @@ -4,10 +4,11 @@ let client = { pkgs, ... } : { environment.systemPackages = [ pkgs.glusterfs ]; fileSystems = pkgs.lib.mkVMOverride - [ { mountPoint = "/gluster"; - fsType = "glusterfs"; - device = "server1:/gv0"; - } ]; + { "/gluster" = + { device = "server1:/gv0"; + fsType = "glusterfs"; + }; + }; }; server = { pkgs, ... } : { @@ -22,11 +23,11 @@ let virtualisation.emptyDiskImages = [ 1024 ]; fileSystems = pkgs.lib.mkVMOverride - [ { mountPoint = "/data"; - device = "/dev/disk/by-label/data"; - fsType = "ext4"; - } - ]; + { "/data" = + { device = "/dev/disk/by-label/data"; + fsType = "ext4"; + }; + }; }; in { name = "glusterfs"; |