Merge pull request #96042 from rnhmjoj/loaOf

treewide: completely remove types.loaOf
This commit is contained in:
WORLDofPEACE
2020-09-02 08:45:37 -04:00
committed by GitHub
41 changed files with 79 additions and 176 deletions
+2 -2
View File
@@ -519,7 +519,7 @@ in
<option>networking.useDHCP</option> is true, then every
interface not listed here will be configured using DHCP.
'';
type = with types; loaOf (submodule interfaceOpts);
type = with types; attrsOf (submodule interfaceOpts);
};
networking.vswitches = mkOption {
@@ -544,7 +544,7 @@ in
interfaces = mkOption {
example = [ "eth0" "eth1" ];
description = "The physical network interfaces connected by the vSwitch.";
type = with types; loaOf (submodule vswitchInterfaceOpts);
type = with types; attrsOf (submodule vswitchInterfaceOpts);
};
controllers = mkOption {