ctucx.git: dns-nix

fork of https://github.com/kirelagin/dns.nix

commit 3c2c24f9db4d98b1de11d058390a3a27fe977a08
parent d47378a4272ca826d770bb22242e5fbb814063b5
Author: Kirill Elagin <kirelagin@gmail.com>
Date: Mon, 25 Oct 2021 14:29:34 -0400

fix: Make sure docs evaluate

Make sure `nix eval .#lib` succeeds..

There was a bunch of issues with module options documentation, but the
docs were never evaluated, so, due to lazyness, it did not matter.
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dns/types/zone.nix b/dns/types/zone.nix
@@ -36,8 +36,8 @@ let
     mapAttrs (n: t: mkOption rec {
       type = types.listOf (recordType t);
       default = [];
-      example = [ t.example ];
-      description = "List of ${t} records for this zone/subzone";
+      # example = [ t.example ];  # TODO: any way to auto-generate an example for submodule?
+      description = "List of ${n} records for this zone/subzone";
     }) rsubtypes';
 
   subzone = types.submodule {