aboutsummaryrefslogtreecommitdiff
path: root/tests/modules/declare-int-positive-value-nested.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/declare-int-positive-value-nested.nix')
-rw-r--r--tests/modules/declare-int-positive-value-nested.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/modules/declare-int-positive-value-nested.nix b/tests/modules/declare-int-positive-value-nested.nix
new file mode 100644
index 000000000..72d2fb89f
--- /dev/null
+++ b/tests/modules/declare-int-positive-value-nested.nix
@@ -0,0 +1,9 @@
+{ lib, ... }:
+
+{
+ options.set = {
+ value = lib.mkOption {
+ type = lib.types.ints.positive;
+ };
+ };
+}