From 92f277f5398005ab2f045486e6baa58d1aa1dd9f Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 7 Feb 2024 15:23:23 -0800 Subject: [PATCH] Actually use the env file.. --- immich-container.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/immich-container.nix b/immich-container.nix index 778632f..9c75d37 100644 --- a/immich-container.nix +++ b/immich-container.nix @@ -84,6 +84,7 @@ in { "${cfg.store-directory}:/usr/src/app/upload" "/etc/localtime:/etc/localtime:ro" ]; + env_files = [ hostSecrets.immichEnv.target-file ]; }; }; @@ -97,6 +98,7 @@ in { "${cfg.store-directory}:/usr/src/app/upload" "/etc/localtime:/etc/localtime:ro" ]; + env_files = [ hostSecrets.immichEnv.target-file ]; }; }; @@ -105,6 +107,7 @@ in { image = cfg.images.immich-ml; restart = "always"; volumes = [ "${cfg.state-directory}/model-cache:/cache" ]; + env_files = [ hostSecrets.immichEnv.target-file ]; }; }; @@ -120,6 +123,7 @@ in { restart = "always"; volumes = [ "${cfg.state-directory}/database:/var/lib/postgresql/data" ]; + env_files = [ hostSecrets.immichEnv.target-file ]; }; }; };