nixos/knot: allow specifying the clear section

It was added in 3.3.4.  I'm not sure if it will be useful with NixOS
services, but I added it in the usual way anyway.
This commit is contained in:
Vladimír Čunát 2024-01-24 10:33:55 +01:00
parent a72644f128
commit 7f979aeb86
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -44,6 +44,7 @@ let
++ [ (sec_list_fa "id" nix_def "template") ]
++ [ (sec_list_fa "domain" nix_def "zone") ]
++ [ (sec_plain nix_def "include") ]
++ [ (sec_plain nix_def "clear") ]
);
# A plain section contains directly attributes (we don't really check that ATM).