lol

Merge pull request #20456 from ericsagnes/feat/loaf-dep-1

Use attrsOf in place of loaOf when relevant

authored by

Joachim F and committed by
GitHub
6dbe55ca e6a20759

+9 -9
+1 -1
nixos/modules/security/acme.nix
··· 129 129 130 130 certs = mkOption { 131 131 default = { }; 132 - type = with types; loaOf (submodule certOpts); 132 + type = with types; attrsOf (submodule certOpts); 133 133 description = '' 134 134 Attribute set of certificates to get signed and renewed. 135 135 '';
+2 -2
nixos/modules/services/logging/logcheck.nix
··· 184 184 description = '' 185 185 This option defines extra ignore rules. 186 186 ''; 187 - type = with types; loaOf (submodule ignoreOptions); 187 + type = with types; attrsOf (submodule ignoreOptions); 188 188 }; 189 189 190 190 ignoreCron = mkOption { ··· 192 192 description = '' 193 193 This option defines extra ignore rules for cronjobs. 194 194 ''; 195 - type = with types; loaOf (submodule ignoreCronOptions); 195 + type = with types; attrsOf (submodule ignoreCronOptions); 196 196 }; 197 197 198 198 extraGroups = mkOption {
+2 -2
nixos/modules/services/network-filesystems/tahoe.nix
··· 8 8 options.services.tahoe = { 9 9 introducers = mkOption { 10 10 default = {}; 11 - type = with types; loaOf (submodule { 11 + type = with types; attrsOf (submodule { 12 12 options = { 13 13 nickname = mkOption { 14 14 type = types.str; ··· 49 49 }; 50 50 nodes = mkOption { 51 51 default = {}; 52 - type = with types; loaOf (submodule { 52 + type = with types; attrsOf (submodule { 53 53 options = { 54 54 nickname = mkOption { 55 55 type = types.str;
+2 -2
nixos/modules/services/networking/tinc.nix
··· 18 18 19 19 networks = mkOption { 20 20 default = { }; 21 - type = with types; loaOf (submodule { 21 + type = with types; attrsOf (submodule { 22 22 options = { 23 23 24 24 extraConfig = mkOption { ··· 59 59 60 60 hosts = mkOption { 61 61 default = { }; 62 - type = types.loaOf types.lines; 62 + type = types.attrsOf types.lines; 63 63 description = '' 64 64 The name of the host in the network as well as the configuration for that host. 65 65 This name should only contain alphanumerics and underscores.
+1 -1
nixos/modules/services/networking/znc.nix
··· 208 208 209 209 networks = mkOption { 210 210 default = { }; 211 - type = with types; loaOf (submodule networkOpts); 211 + type = with types; attrsOf (submodule networkOpts); 212 212 description = '' 213 213 IRC networks to connect the user to. 214 214 '';
+1 -1
nixos/modules/services/web-servers/zope2.nix
··· 74 74 75 75 services.zope2.instances = mkOption { 76 76 default = {}; 77 - type = with types; loaOf (submodule zope2Opts); 77 + type = with types; attrsOf (submodule zope2Opts); 78 78 example = literalExample '' 79 79 { 80 80 plone01 = {