From 47389f8486af410096add91266cf1a13a29727e9 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Mon, 29 Apr 2024 12:55:40 -0500 Subject: [PATCH] re-add zone. --- nixos/telperion/configuration.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/nixos/telperion/configuration.nix b/nixos/telperion/configuration.nix index dc335db..2b45563 100644 --- a/nixos/telperion/configuration.nix +++ b/nixos/telperion/configuration.nix @@ -11,12 +11,16 @@ ]; sops = { - # Mounts unencrypted sops values at /run/secrets/bind/rndc_keys/externaldns accessible by root only by default. + # Mounts unencrypted sops values at /run/secrets/rndc_keys accessible by root only by default. secrets = { "bind/rndc-keys/externaldns" = { owner = config.users.users.named.name; inherit (config.users.users.named) group; }; + "bind/zones/jahanson.tech" = { + owner = config.users.users.named.name; + inherit (config.users.users.named) group; + }; }; }; @@ -53,7 +57,9 @@ services.bind = { enable = true; - extraConfig = import ./config/bind.nix {inherit config;}; + extraConfig = '' + import ./config/bind.nix {inherit config;}; + ''; }; # Some programs need SUID wrappers, can be configured further or are