From ebca5f0a25bbd7649083669bb838b29c9191716b Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sun, 21 May 2017 08:43:19 -0400 Subject: dns: Begin service file. --- config/dns.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config/dns.nix diff --git a/config/dns.nix b/config/dns.nix new file mode 100644 index 0000000..edf9a0e --- /dev/null +++ b/config/dns.nix @@ -0,0 +1,11 @@ +# dnssec-signzone -A -3 $(head -c 1000 /dev/urandom | sha1sum | cut -b 1-16) -N unixtime -o $zone -t db.${zone} +{ config, lib, pkgs, ... }: +{ + services.bind = { + enable = true; + }; + + systemd.services.bind = { + preStart = lib.mkAfter "echo test"; + }; +} -- cgit v1.2.3