+1
-1
nixos/doc/manual/release-notes/rl-2511.section.md
+1
-1
nixos/doc/manual/release-notes/rl-2511.section.md
···-- Immich now has support for [VectorChord](https://github.com/tensorchord/VectorChord) when using the PostgreSQL configuration provided by `services.immich.database.enable`, which replaces `pgvecto-rs`. VectorChord support can be toggled with the option `services.immich.database.enableVectorChord`.- `services.postsrsd` now automatically integrates with the local Postfix instance, when enabled. This behavior can disabled using the [services.postsrsd.configurePostfix](#opt-services.postsrsd.configurePostfix) option.
···+- Immich now has support for [VectorChord](https://github.com/tensorchord/VectorChord) when using the PostgreSQL configuration provided by `services.immich.database.enable`, which replaces `pgvecto-rs`. VectorChord support can be toggled with the option `services.immich.database.enableVectorChord`. Additionally, `pgvecto-rs` support is now disabled from NixOS 25.11 onwards using the option `services.immich.database.enableVectors`. This option will be removed fully in the future once Immich drops support for `pgvecto-rs` fully.- `services.postsrsd` now automatically integrates with the local Postfix instance, when enabled. This behavior can disabled using the [services.postsrsd.configurePostfix](#opt-services.postsrsd.configurePostfix) option.
+25
-10
nixos/modules/services/web-apps/immich.nix
+25
-10
nixos/modules/services/web-apps/immich.nix
······-assertion = cfg.database.enable -> lib.versionOlder config.services.postgresql.package.version "17";·········
···+mkEnableOption "pgvecto.rs in the database. You may disable this, if you have migrated to VectorChord and deleted the `vectors` schema."···+message = "Immich doesn't support PostgreSQL 17+ when using pgvecto.rs. Consider disabling it using services.immich.database.enableVectors if it is not needed anymore.";+assertion = cfg.database.enable -> (cfg.database.enableVectorChord || cfg.database.enableVectors);+message = "At least one of services.immich.database.enableVectorChord and services.immich.database.enableVectors has to be enabled.";·········+${lib.optionalString cfg.database.enableVectors "ALTER SCHEMA vectors OWNER TO ${cfg.database.user};"}
+1
nixos/tests/all-tests.nix
+1
nixos/tests/all-tests.nix
···
+71
nixos/tests/web-apps/immich-vectorchord-migration.nix
+71
nixos/tests/web-apps/immich-vectorchord-migration.nix
···
···+machine.succeed(f"sudo -u postgres psql -d ${nodes.machine.services.immich.database.name} -c '{command}'")
-3
nixos/tests/web-apps/immich.nix
-3
nixos/tests/web-apps/immich.nix
+1
-1
pkgs/by-name/im/immich/package.nix
+1
-1
pkgs/by-name/im/immich/package.nix