btrfs autoscrubbing

This commit is contained in:
Trolli Schmittlauch 2018-10-25 01:30:53 +02:00
parent 0e5829bc41
commit 56c00d9da7

View file

@ -30,6 +30,11 @@ in {
fileSystems."/tmp".fsType = "tmpfs"; fileSystems."/tmp".fsType = "tmpfs";
services.fstrim.enable = true; services.fstrim.enable = true;
services.btrfs.autoScrub =
{ enable = true;
fileSystems = [ "/" "/home" ];
};
# exfat support # exfat support
boot.extraModulePackages = [ config.boot.kernelPackages.exfat-nofuse ]; boot.extraModulePackages = [ config.boot.kernelPackages.exfat-nofuse ];