2024-12-15 00:29:51 +01:00
|
|
|
|
{
|
|
|
|
|
pkgs,
|
|
|
|
|
lib,
|
|
|
|
|
config,
|
|
|
|
|
...
|
|
|
|
|
}:
|
2024-03-22 18:04:23 +01:00
|
|
|
|
{
|
|
|
|
|
config = {
|
|
|
|
|
services.beesd.filesystems = {
|
|
|
|
|
razmo = {
|
|
|
|
|
spec = "/mnt/razmo";
|
|
|
|
|
hashTableSizeMB = 512; # Recommended for 1 TiB, ×2 for compression, x2 for time
|
2024-12-15 00:29:51 +01:00
|
|
|
|
extraOptions = [
|
|
|
|
|
"--loadavg-target"
|
|
|
|
|
"7.5"
|
|
|
|
|
];
|
2024-03-22 18:04:23 +01:00
|
|
|
|
};
|
|
|
|
|
rapido = {
|
|
|
|
|
spec = "/mnt/rapido";
|
|
|
|
|
hashTableSizeMB = 128; # 4 times smaller disk, 4 times smaller hashtable?
|
2024-12-15 00:29:51 +01:00
|
|
|
|
extraOptions = [
|
|
|
|
|
"--loadavg-target"
|
|
|
|
|
"5"
|
|
|
|
|
];
|
2024-03-22 18:04:23 +01:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|