fix(netbox): Put environment in all units that need it

This commit is contained in:
sinavir 2023-12-17 18:05:59 +01:00
parent 7007fece7a
commit 088b7bee00

View file

@ -45,6 +45,10 @@
EnvironmentFile = config.age.secrets."netbox_env".path; EnvironmentFile = config.age.secrets."netbox_env".path;
}; };
systemd.services.netbox-housekeeping.serviceConfig = {
EnvironmentFile = config.age.secrets."netbox_env".path;
};
users.users.nginx.extraGroups = [ "netbox" ]; users.users.nginx.extraGroups = [ "netbox" ];
networking.firewall.allowedTCPPorts = [ 443 80 ]; networking.firewall.allowedTCPPorts = [ 443 80 ];
} }