2024-03-22 18:04:23 +01:00
|
|
|
|
{ pkgs, lib, config, ... }:
|
|
|
|
|
{
|
|
|
|
|
config = {
|
|
|
|
|
services.beesd.filesystems = {
|
|
|
|
|
razmo = {
|
|
|
|
|
spec = "/mnt/razmo";
|
|
|
|
|
hashTableSizeMB = 512; # Recommended for 1 TiB, ×2 for compression, x2 for time
|
2024-03-27 13:09:33 +01:00
|
|
|
|
extraOptions = [ "--loadavg-target" "10" ]; # This one is tame
|
2024-03-22 18:04:23 +01:00
|
|
|
|
};
|
|
|
|
|
rapido = {
|
|
|
|
|
spec = "/mnt/rapido";
|
|
|
|
|
hashTableSizeMB = 128; # 4 times smaller disk, 4 times smaller hashtable?
|
2024-03-27 13:09:33 +01:00
|
|
|
|
extraOptions = [ "--loadavg-target" "7.5" ]; # This one can slow things down
|
2024-03-22 18:04:23 +01:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|