From 3700d10df6943d062860667470188ddbe2bcd896 Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 9 Mar 2024 10:14:53 -0800 Subject: [PATCH] Ensure state dir exists and belongs to user --- nsd.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nsd.nix b/nsd.nix index 0d8e779..d9cc5ca 100644 --- a/nsd.nix +++ b/nsd.nix @@ -979,6 +979,8 @@ in { }; systemd = { + tmpfiles.rules = [ "d ${stateDir} ${username} ${username} 0700 - -" ]; + services = { nsd = { description = "NSD authoritative only domain name service";