mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Filesystems/Btrfs] fix broken duperemove options
This commit is contained in:
parent
2b49bf3e90
commit
1faf3c5ad2
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue