lib/types: update docs to match the new type names

This commit is contained in:
Profpatsch
2017-10-31 14:55:51 +01:00
parent f8e6cd3465
commit c85f085062
5 changed files with 33 additions and 23 deletions

View File

@@ -0,0 +1,9 @@
{ lib, ... }:
{
options = {
value = lib.mkOption {
type = lib.types.ints.between (-21) 43;
};
};
}

View File

@@ -0,0 +1,9 @@
{ lib, ... }:
{
options = {
value = lib.mkOption {
type = lib.types.ints.unsigned;
};
};
}

View File

@@ -0,0 +1,3 @@
{
value = -23;
}

View File

@@ -0,0 +1,3 @@
{
value = 42;
}