From d028be667c9f6578672afa017ecb9638509859e2 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Wed, 15 Nov 2023 08:45:09 -0800 Subject: [PATCH] Add `description` and `defaultText` for `maxLayers` option --- src/modules/containers.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/containers.nix b/src/modules/containers.nix index 11d550b2d..2a54a131b 100644 --- a/src/modules/containers.nix +++ b/src/modules/containers.nix @@ -168,6 +168,8 @@ let maxLayers = lib.mkOption { type = types.int; + description = "the maximum number of layers to create."; + defaultText = lib.literalExpression 1; default = 1; }; };