mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +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
|
mkdir -p $DATA_DIR
|
||||||
exec ${pkgs.duperemove}/bin/duperemove \
|
exec ${pkgs.duperemove}/bin/duperemove \
|
||||||
--io-threads=${toString cfg.autoDedup.ioThreads} --cpu-threads=${toString cfg.autoDedup.cpuThreads} \
|
--io-threads=${toString cfg.autoDedup.ioThreads} --cpu-threads=${toString cfg.autoDedup.cpuThreads} \
|
||||||
--dedupe-options=fiemap,same \
|
--dedupe-options=same \
|
||||||
--hashfile=$DATA_DIR/hashes.db -h -v -Ard "$@"
|
--hashfile=$DATA_DIR/hashes.db -h -v -rd "$@"
|
||||||
'';
|
'';
|
||||||
scriptArgs = concatStringsSep " " cfg.autoDedup.paths;
|
scriptArgs = concatStringsSep " " cfg.autoDedup.paths;
|
||||||
# %S : state
|
# %S : state
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue