net
This commit is contained in:
@@ -8,6 +8,7 @@ with lib;
|
||||
let
|
||||
name = "immich";
|
||||
cfg = config.${namespace}.services.${name};
|
||||
net = lib.${namespace}.network;
|
||||
dbPassword = config.sops.secrets."jallen-nas/immich/db-password".path;
|
||||
|
||||
immichConfig = lib.${namespace}.mkModule {
|
||||
@@ -26,7 +27,7 @@ let
|
||||
|
||||
environment = {
|
||||
IMMICH_HOST = lib.mkForce cfg.listenAddress;
|
||||
IMMICH_TRUSTED_PROXIES = "10.0.1.3";
|
||||
IMMICH_TRUSTED_PROXIES = net.hosts.nas.lan;
|
||||
TZ = "America/Chicago";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user