+2
nixos/doc/manual/release-notes/rl-2511.section.md
+2
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`. 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. See [Immich migration instructions](#module-services-immich-vectorchord-migration)+- `services.restic.backups` now includes a `command` option for passing a command to the [--stdin-from-command](https://github.com/restic/restic/pull/4410) flag.- `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.
+65
-14
nixos/modules/services/backup/restic.nix
+65
-14
nixos/modules/services/backup/restic.nix
···+Command to pass to --stdin-from-command. If null or an empty array, and `paths`/`dynamicFilesFrom`···defaultText = lib.literalExpression ''builtins.length config.services.backups.${name}.checkOpts > 0'';···-message = "services.restic.backups.${n}: exactly one of repository or repositoryFile should be set";+message = "services.restic.backups.${name}: exactly one of repository or repositoryFile should be set";+fileBackup = (backup.paths != null && backup.paths != [ ]) || backup.dynamicFilesFrom != null;+message = "services.restic.backups.${name}: cannot do both a command backup and a file backup at the same time.";···) "--exclude-file=${pkgs.writeText "exclude-patterns" (lib.concatStringsSep "\n" backup.exclude)}";-doBackup = (backup.dynamicFilesFrom != null) || (backup.paths != null && backup.paths != [ ]);+fileBackup = (backup.dynamicFilesFrom != null) || (backup.paths != null && backup.paths != [ ]);···············
+21
-1
nixos/tests/restic.nix
+21
-1
nixos/tests/restic.nix
···············"${pkgs.restic}/bin/restic -r ${remoteRepository} -p ${passwordFile} restore latest -t /tmp/restore-3",+'[[ $(restic-remote-from-command-backup dump --path /stdin latest stdin) == ${commandString} ]]',