tahoe module: optionSet -> submodule

This commit is contained in:
Eric Sagnes 2016-09-11 18:02:15 +09:00
parent 981df6387c
commit 1b3c03b49c

View File

@ -8,10 +8,7 @@ in
options.services.tahoe = {
introducers = mkOption {
default = {};
type = types.loaOf types.optionSet;
description = ''
The Tahoe introducers.
'';
type = with types; loaOf (submodule {
options = {
nickname = mkOption {
type = types.str;
@ -45,13 +42,14 @@ in
'';
};
};
});
description = ''
The Tahoe introducers.
'';
};
nodes = mkOption {
default = {};
type = types.loaOf types.optionSet;
description = ''
The Tahoe nodes.
'';
type = with types; loaOf (submodule {
options = {
nickname = mkOption {
type = types.str;
@ -150,6 +148,10 @@ in
'';
};
};
});
description = ''
The Tahoe nodes.
'';
};
};
config = mkMerge [