tywin: enable automatic btrfs scrubbing
All checks were successful
flake / flake (push) Successful in 2m16s

This commit is contained in:
Jake Hillion 2024-05-15 20:51:10 +01:00
parent f59824ad62
commit 7298955391

View File

@ -42,9 +42,16 @@
};
boot.kernelParams = [ "zfs.zfs_arc_max=25769803776" ];
services.zfs.autoScrub = {
services.btrfs.autoScrub = {
enable = true;
interval = "Tue, 02:00";
# All filesystems includes the BTRFS parts of all the hard drives. This
# would take forever and is redundant as they get fully read regularly.
fileSystems = [ "/" ];
};
services.zfs.autoScrub = {
enable = true;
interval = "Wed, 02:00";
};
## Backups