nixos/gotenberg: use more accurate int types

h7x4 5bd07053 27a6fc2a

Changed files
+4 -4
nixos
modules
services
+4 -4
nixos/modules/services/misc/gotenberg.nix
···
package = mkPackageOption pkgs "chromium" { };
maxQueueSize = mkOption {
-
type = types.int;
+
type = types.ints.unsigned;
default = 0;
description = "Maximum queue size for chromium-based conversions. Setting to 0 disables the limit.";
};
···
description = "Deny accepting URLs from these domains in the `downloadFrom` API field. Accepts a regular expression.";
};
maxRetries = mkOption {
-
type = types.int;
+
type = types.ints.unsigned;
default = 4;
description = "The maximum amount of times to retry downloading a file specified with `downloadFrom`.";
};
···
package = mkPackageOption pkgs "libreoffice" { };
restartAfter = mkOption {
-
type = types.int;
+
type = types.ints.unsigned;
default = 10;
description = "Restart LibreOffice after this many conversions. Setting to 0 disables this feature.";
};
maxQueueSize = mkOption {
-
type = types.int;
+
type = types.ints.unsigned;
default = 0;
description = "Maximum queue size for LibreOffice-based conversions. Setting to 0 disables the limit.";
};