ctucx.git: dns.nix

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

commit e0d80488d9d27aba62c6f086e377090498742491
parent d47378a4272ca826d770bb22242e5fbb814063b5
Author: Kirill Elagin <kirelagin@gmail.com>
Date: Mon, 25 Oct 2021 22:16:00 -0700

Merge pull request #24 from kirelagin/23-eval-lib

fix: Make sure docs evaluate
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 {