summaryrefslogtreecommitdiffstats
path: root/lib
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
commit66bcaa6e1bcaa34cc29776fb41f343e696e09fd6 (patch)
tree02e3d1a0bd70c0832d3540e39f08e84f471a346f /lib
parent329abcefa2d6bc33f6fe55268f4019f65de1cd7e (diff)
types host: cores can also be 0
Diffstat (limited to 'lib')
-rw-r--r--lib/types.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 0168533..41e7515 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;