From 6673ba28b1c5f2272e728d0d991c23a1f533cfae Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Fri, 15 Sep 2023 20:30:37 +0100 Subject: [PATCH] fix: dns no longer fails to be updated --- applications/dns.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/applications/dns.nix b/applications/dns.nix index 2f3cf8a..88004f9 100644 --- a/applications/dns.nix +++ b/applications/dns.nix @@ -390,6 +390,12 @@ in { ] ++ create_cache_networks; }; + # deletes teh journal files evey start so it no longer stalls out + systemd.services.bind.preStart = '' + rm -vf /etc/skynet/dns/*.jnl + rm -vf /etc/skynet/dns/*.jbk + ''; + # creates a folder in /etc for the dns to use users.users.named = { createHome = true;