Merge pull request #20456 from ericsagnes/feat/loaf-dep-1
Use attrsOf in place of loaOf when relevant
This commit is contained in:
commit
6dbe55ca68
@ -129,7 +129,7 @@ in
|
|||||||
|
|
||||||
certs = mkOption {
|
certs = mkOption {
|
||||||
default = { };
|
default = { };
|
||||||
type = with types; loaOf (submodule certOpts);
|
type = with types; attrsOf (submodule certOpts);
|
||||||
description = ''
|
description = ''
|
||||||
Attribute set of certificates to get signed and renewed.
|
Attribute set of certificates to get signed and renewed.
|
||||||
'';
|
'';
|
||||||
|
@ -184,7 +184,7 @@ in
|
|||||||
description = ''
|
description = ''
|
||||||
This option defines extra ignore rules.
|
This option defines extra ignore rules.
|
||||||
'';
|
'';
|
||||||
type = with types; loaOf (submodule ignoreOptions);
|
type = with types; attrsOf (submodule ignoreOptions);
|
||||||
};
|
};
|
||||||
|
|
||||||
ignoreCron = mkOption {
|
ignoreCron = mkOption {
|
||||||
@ -192,7 +192,7 @@ in
|
|||||||
description = ''
|
description = ''
|
||||||
This option defines extra ignore rules for cronjobs.
|
This option defines extra ignore rules for cronjobs.
|
||||||
'';
|
'';
|
||||||
type = with types; loaOf (submodule ignoreCronOptions);
|
type = with types; attrsOf (submodule ignoreCronOptions);
|
||||||
};
|
};
|
||||||
|
|
||||||
extraGroups = mkOption {
|
extraGroups = mkOption {
|
||||||
|
@ -8,7 +8,7 @@ in
|
|||||||
options.services.tahoe = {
|
options.services.tahoe = {
|
||||||
introducers = mkOption {
|
introducers = mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
type = with types; loaOf (submodule {
|
type = with types; attrsOf (submodule {
|
||||||
options = {
|
options = {
|
||||||
nickname = mkOption {
|
nickname = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
@ -49,7 +49,7 @@ in
|
|||||||
};
|
};
|
||||||
nodes = mkOption {
|
nodes = mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
type = with types; loaOf (submodule {
|
type = with types; attrsOf (submodule {
|
||||||
options = {
|
options = {
|
||||||
nickname = mkOption {
|
nickname = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
@ -18,7 +18,7 @@ in
|
|||||||
|
|
||||||
networks = mkOption {
|
networks = mkOption {
|
||||||
default = { };
|
default = { };
|
||||||
type = with types; loaOf (submodule {
|
type = with types; attrsOf (submodule {
|
||||||
options = {
|
options = {
|
||||||
|
|
||||||
extraConfig = mkOption {
|
extraConfig = mkOption {
|
||||||
@ -59,7 +59,7 @@ in
|
|||||||
|
|
||||||
hosts = mkOption {
|
hosts = mkOption {
|
||||||
default = { };
|
default = { };
|
||||||
type = types.loaOf types.lines;
|
type = types.attrsOf types.lines;
|
||||||
description = ''
|
description = ''
|
||||||
The name of the host in the network as well as the configuration for that host.
|
The name of the host in the network as well as the configuration for that host.
|
||||||
This name should only contain alphanumerics and underscores.
|
This name should only contain alphanumerics and underscores.
|
||||||
|
@ -208,7 +208,7 @@ in
|
|||||||
|
|
||||||
networks = mkOption {
|
networks = mkOption {
|
||||||
default = { };
|
default = { };
|
||||||
type = with types; loaOf (submodule networkOpts);
|
type = with types; attrsOf (submodule networkOpts);
|
||||||
description = ''
|
description = ''
|
||||||
IRC networks to connect the user to.
|
IRC networks to connect the user to.
|
||||||
'';
|
'';
|
||||||
|
@ -74,7 +74,7 @@ in
|
|||||||
|
|
||||||
services.zope2.instances = mkOption {
|
services.zope2.instances = mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
type = with types; loaOf (submodule zope2Opts);
|
type = with types; attrsOf (submodule zope2Opts);
|
||||||
example = literalExample ''
|
example = literalExample ''
|
||||||
{
|
{
|
||||||
plone01 = {
|
plone01 = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user