curacao: Try deduplication

This commit is contained in:
Geoffrey Frogeye 2024-03-22 18:04:23 +01:00
parent f04f8160db
commit 20dd333799
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 16 additions and 0 deletions

15
curacao/dedup/default.nix Normal file
View file

@ -0,0 +1,15 @@
{ pkgs, lib, config, ... }:
{
config = {
services.beesd.filesystems = {
razmo = {
spec = "/mnt/razmo";
hashTableSizeMB = 512; # Recommended for 1 TiB, ×2 for compression, x2 for time
};
rapido = {
spec = "/mnt/rapido";
hashTableSizeMB = 128; # 4 times smaller disk, 4 times smaller hashtable?
};
};
};
}

View file

@ -5,6 +5,7 @@
}; };
imports = [ imports = [
./backup ./backup
./dedup
./disko.nix ./disko.nix
./features.nix ./features.nix
./hardware.nix ./hardware.nix