Commit f1e52abf authored by Robert Schütz's avatar Robert Schütz
Browse files

nixos/immich: fix eval with `settings == null`

Using the module without declarative settings previously failed with

    error: attribute 'settingsFile' missing
parent c7807905
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";
      };