bacula module: optionSet -> submodule
This commit is contained in:
parent
fff4a9ee01
commit
09a3ea1abf
@ -198,8 +198,7 @@ in {
|
|||||||
description = ''
|
description = ''
|
||||||
This option defines director resources in Bacula File Daemon.
|
This option defines director resources in Bacula File Daemon.
|
||||||
'';
|
'';
|
||||||
type = types.attrsOf types.optionSet;
|
type = with types; attrsOf (submodule directorOptions);
|
||||||
options = [ directorOptions ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
extraClientConfig = mkOption {
|
extraClientConfig = mkOption {
|
||||||
@ -253,8 +252,7 @@ in {
|
|||||||
description = ''
|
description = ''
|
||||||
This option defines Director resources in Bacula Storage Daemon.
|
This option defines Director resources in Bacula Storage Daemon.
|
||||||
'';
|
'';
|
||||||
type = types.attrsOf types.optionSet;
|
type = with types; attrsOf (submodule directorOptions);
|
||||||
options = [ directorOptions ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
device = mkOption {
|
device = mkOption {
|
||||||
@ -262,8 +260,7 @@ in {
|
|||||||
description = ''
|
description = ''
|
||||||
This option defines Device resources in Bacula Storage Daemon.
|
This option defines Device resources in Bacula Storage Daemon.
|
||||||
'';
|
'';
|
||||||
type = types.attrsOf types.optionSet;
|
type = with types; attrsOf (submodule deviceOptions);
|
||||||
options = [ deviceOptions ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
extraStorageConfig = mkOption {
|
extraStorageConfig = mkOption {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user