fix: dns no longer fails to be updated
This commit is contained in:
parent
a5059e1c28
commit
6673ba28b1
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue