diff --git a/immich-container.nix b/immich-container.nix index 3a5c187..778632f 100644 --- a/immich-container.nix +++ b/immich-container.nix @@ -6,7 +6,7 @@ let hostname = config.instance.hostname; mkEnvFile = attrs: - writeText "env-file" + pkgs.writeText "env-file" (concatStringsSep "\n" (mapAttrsToList (k: v: "${k}=${v}") attrs)); databasePassword = pkgs.lib.passwd.stablerandom-passwd-file "immich-db-passwd"