From c28e533257ff96d48ade6b26931e3b642a71ff55 Mon Sep 17 00:00:00 2001 From: moira Date: Sat, 10 Dec 2022 13:18:02 +0100 Subject: [PATCH] services/netbox: fix access to static directory --- services/netbox.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/netbox.nix b/services/netbox.nix index 0a4ffd3..3e16df5 100644 --- a/services/netbox.nix +++ b/services/netbox.nix @@ -42,6 +42,8 @@ SOCIAL_AUTH_UFFD_SECRET = file.readline().replace("\n", "") ''; }; + # Enables nginx to traverse the directory to access /static + systemd.services.netbox.serviceConfig.StateDirectoryMode=lib.mkForce 0751; services.coredns = { enable = true;