[Filesystems/Btrfs] fix broken duperemove options

This commit is contained in:
Antoine Viallon 2025-04-05 00:17:36 +02:00
parent 2b49bf3e90
commit 1faf3c5ad2
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -60,8 +60,8 @@ in {
mkdir -p $DATA_DIR
exec ${pkgs.duperemove}/bin/duperemove \
--io-threads=${toString cfg.autoDedup.ioThreads} --cpu-threads=${toString cfg.autoDedup.cpuThreads} \
--dedupe-options=fiemap,same \
--hashfile=$DATA_DIR/hashes.db -h -v -Ard "$@"
--dedupe-options=same \
--hashfile=$DATA_DIR/hashes.db -h -v -rd "$@"
'';
scriptArgs = concatStringsSep " " cfg.autoDedup.paths;
# %S : state