diff --git a/immich-container.nix b/immich-container.nix index f2790a1..3dd2515 100644 --- a/immich-container.nix +++ b/immich-container.nix @@ -100,7 +100,7 @@ in { "${cfg.store-directory}:/usr/src/app/upload" "/etc/localtime:/etc/localtime:ro" ]; - env_files = [ hostSecrets.immichEnv.target-file ]; + env_file = [ hostSecrets.immichEnv.target-file ]; }; }; @@ -109,7 +109,7 @@ in { image = cfg.images.immich-ml; restart = "always"; volumes = [ "${cfg.state-directory}/model-cache:/cache" ]; - env_files = [ hostSecrets.immichEnv.target-file ]; + env_file = [ hostSecrets.immichEnv.target-file ]; }; }; @@ -125,7 +125,7 @@ in { restart = "always"; volumes = [ "${cfg.state-directory}/database:/var/lib/postgresql/data" ]; - env_files = [ hostSecrets.immichEnv.target-file ]; + env_file = [ hostSecrets.immichEnv.target-file ]; }; }; };