bacula module: optionSet -> submodule

Changed files
+3 -6
nixos
modules
services
backup
+3 -6
nixos/modules/services/backup/bacula.nix
···
description = ''
This option defines director resources in Bacula File Daemon.
'';
-
type = types.attrsOf types.optionSet;
-
options = [ directorOptions ];
+
type = with types; attrsOf (submodule directorOptions);
};
extraClientConfig = mkOption {
···
description = ''
This option defines Director resources in Bacula Storage Daemon.
'';
-
type = types.attrsOf types.optionSet;
-
options = [ directorOptions ];
+
type = with types; attrsOf (submodule directorOptions);
};
device = mkOption {
···
description = ''
This option defines Device resources in Bacula Storage Daemon.
'';
-
type = types.attrsOf types.optionSet;
-
options = [ deviceOptions ];
+
type = with types; attrsOf (submodule deviceOptions);
};
extraStorageConfig = mkOption {