tahoe module: optionSet -> submodule
This commit is contained in:
parent
981df6387c
commit
1b3c03b49c
@ -8,10 +8,7 @@ in
|
|||||||
options.services.tahoe = {
|
options.services.tahoe = {
|
||||||
introducers = mkOption {
|
introducers = mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
type = types.loaOf types.optionSet;
|
type = with types; loaOf (submodule {
|
||||||
description = ''
|
|
||||||
The Tahoe introducers.
|
|
||||||
'';
|
|
||||||
options = {
|
options = {
|
||||||
nickname = mkOption {
|
nickname = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
@ -45,13 +42,14 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
});
|
||||||
|
description = ''
|
||||||
|
The Tahoe introducers.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
nodes = mkOption {
|
nodes = mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
type = types.loaOf types.optionSet;
|
type = with types; loaOf (submodule {
|
||||||
description = ''
|
|
||||||
The Tahoe nodes.
|
|
||||||
'';
|
|
||||||
options = {
|
options = {
|
||||||
nickname = mkOption {
|
nickname = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
@ -150,6 +148,10 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
});
|
||||||
|
description = ''
|
||||||
|
The Tahoe nodes.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = mkMerge [
|
config = mkMerge [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user