types host: cores can also be 0

This commit is contained in:
lassulus 2018-12-05 16:52:32 +01:00
parent 7fab6f2dfe
commit 8f53937c40

View File

@ -19,7 +19,7 @@ rec {
default = config._module.args.name; default = config._module.args.name;
}; };
cores = mkOption { cores = mkOption {
type = positive; type = uint;
}; };
nets = mkOption { nets = mkOption {
type = attrsOf net; type = attrsOf net;