fix(netbox): Put environment in all units that need it
This commit is contained in:
parent
7007fece7a
commit
088b7bee00
1 changed files with 4 additions and 0 deletions
4
external/netbox/default.nix
vendored
4
external/netbox/default.nix
vendored
|
@ -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 ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue