From 7f979aeb86f2b3a31e02f06ce25496ebaaa2db38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 24 Jan 2024 10:33:55 +0100 Subject: [PATCH] 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. --- nixos/modules/services/networking/knot.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/networking/knot.nix b/nixos/modules/services/networking/knot.nix index d4bd81629c97..94c32586736a 100644 --- a/nixos/modules/services/networking/knot.nix +++ b/nixos/modules/services/networking/knot.nix @@ -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).