fix: dns no longer fails to be updated

This commit is contained in:
silver 2023-09-15 20:30:37 +01:00
parent a5059e1c28
commit 6673ba28b1

View file

@ -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;