Ensure state dir exists and belongs to user

This commit is contained in:
niten 2024-03-09 10:14:53 -08:00
parent 8e8a3099e5
commit 3700d10df6
1 changed files with 2 additions and 0 deletions

View File

@ -979,6 +979,8 @@ in {
};
systemd = {
tmpfiles.rules = [ "d ${stateDir} ${username} ${username} 0700 - -" ];
services = {
nsd = {
description = "NSD authoritative only domain name service";