From 088b7bee00d0a2e8044bc6e8dfce3f4ed457f244 Mon Sep 17 00:00:00 2001 From: sinavir Date: Sun, 17 Dec 2023 18:05:59 +0100 Subject: [PATCH] fix(netbox): Put environment in all units that need it --- external/netbox/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/external/netbox/default.nix b/external/netbox/default.nix index 67157a4..e97fc00 100644 --- a/external/netbox/default.nix +++ b/external/netbox/default.nix @@ -45,6 +45,10 @@ EnvironmentFile = config.age.secrets."netbox_env".path; }; + systemd.services.netbox-housekeeping.serviceConfig = { + EnvironmentFile = config.age.secrets."netbox_env".path; + }; + users.users.nginx.extraGroups = [ "netbox" ]; networking.firewall.allowedTCPPorts = [ 443 80 ]; }