nixos/fcgiwrap: limit prefork type to positives

This commit is contained in:
euxane 2024-06-08 22:34:17 +02:00
parent 3955eaf450
commit 289c1585c2

View File

@ -13,7 +13,7 @@ in {
default = { }; default = { };
type = types.attrsOf (types.submodule ({ config, ... }: { options = { type = types.attrsOf (types.submodule ({ config, ... }: { options = {
process.prefork = mkOption { process.prefork = mkOption {
type = types.int; type = types.ints.positive;
default = 1; default = 1;
description = "Number of processes to prefork."; description = "Number of processes to prefork.";
}; };