From f1e52abf0d364f44d6351dc824d29271a29ae254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 6 Oct 2025 15:05:03 -0700 Subject: [PATCH] nixos/immich: fix eval with `settings == null` Using the module without declarative settings previously failed with error: attribute 'settingsFile' missing --- nixos/modules/services/web-apps/immich.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/immich.nix b/nixos/modules/services/web-apps/immich.nix index c1958ffffd2e..5d89a2757863 100644 --- a/nixos/modules/services/web-apps/immich.nix +++ b/nixos/modules/services/web-apps/immich.nix @@ -377,7 +377,7 @@ in IMMICH_MEDIA_LOCATION = cfg.mediaLocation; IMMICH_MACHINE_LEARNING_URL = "http://localhost:3003"; } - // lib.optionalAttrs (cfg.settings != null || cfg.settingsFile != null) { + // lib.optionalAttrs (cfg.settings != null) { IMMICH_CONFIG_FILE = "/run/immich/config.json"; };