diff --git a/nixos/configuration.nix b/nixos/configuration.nix index fefb806..5ec7b1f 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -30,6 +30,11 @@ in { fileSystems."/tmp".fsType = "tmpfs"; services.fstrim.enable = true; + services.btrfs.autoScrub = + { enable = true; + fileSystems = [ "/" "/home" ]; + }; + # exfat support boot.extraModulePackages = [ config.boot.kernelPackages.exfat-nofuse ];