summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-12-05 16:52:32 +0100
committerlassulus <lassulus@lassul.us>2018-12-05 16:52:32 +0100
commit8f53937c40a88fc59c02a993315c29d32ff2d09c (patch)
treeea70a758105a8f203a02f8ebdb181e43c955821b
parent7fab6f2dfe2ab1479e4db6dc6fab8f0e672f9e3d (diff)
types host: cores can also be 0
-rw-r--r--lib/types.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 016853300..41e75154e 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -19,7 +19,7 @@ rec {
default = config._module.args.name;
};
cores = mkOption {
- type = positive;
+ type = uint;
};
nets = mkOption {
type = attrsOf net;