From 8175055f973b3f6e8a383abcaa42afb22f279e24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 1 May 2021 21:07:09 +0200 Subject: Add keys handling for bind9 --- modules/private/environment.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'modules/private/environment.nix') diff --git a/modules/private/environment.nix b/modules/private/environment.nix index 9cd591e..32af339 100644 --- a/modules/private/environment.nix +++ b/modules/private/environment.nix @@ -384,6 +384,16 @@ in }; type = attrsOf (attrsOf (listOf str)); }; + keys = mkOption { + default = {}; + description = "DNS keys"; + type = attrsOf (submodule { + options = { + algorithm = mkOption { type = str; description = "Algorithm"; }; + secret = mkOption { type = str; description = "Secret"; }; + }; + }); + }; slaveZones = mkOption { description = "List of slave zones"; type = listOf (submodule { @@ -393,6 +403,11 @@ in description = "NS master groups of this zone"; type = listOf str; }; + keys = mkOption { + default = []; + description = "Keys associated to the server"; + type = listOf str; + }; }; }); }; -- cgit v1.2.3