From 416d8db0b125f56d6d04e63527505717cec3793d Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 7 Feb 2024 15:16:33 -0800 Subject: [PATCH] Should be a path, not a string --- immich-container.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/immich-container.nix b/immich-container.nix index 8524a2e..3a5c187 100644 --- a/immich-container.nix +++ b/immich-container.nix @@ -6,7 +6,8 @@ let hostname = config.instance.hostname; mkEnvFile = attrs: - concatStringsSep "\n" (mapAttrsToList (k: v: "${k}=${v}") attrs); + writeText "env-file" + (concatStringsSep "\n" (mapAttrsToList (k: v: "${k}=${v}") attrs)); databasePassword = pkgs.lib.passwd.stablerandom-passwd-file "immich-db-passwd" config.instance.build-seed;