From 3f20c20af788e8a8e23ebdd602c4242730d3eb4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 19 Feb 2024 13:58:00 +0100 Subject: nixos: enable autoScrub for BTRFS --- nixos/machine/errol.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixos/machine/errol.nix') diff --git a/nixos/machine/errol.nix b/nixos/machine/errol.nix index f0d0aa2..16223d0 100644 --- a/nixos/machine/errol.nix +++ b/nixos/machine/errol.nix @@ -49,6 +49,10 @@ in { options = ["compress=lzo" "subvol=@home"]; }; }; + services.btrfs.autoScrub = { + enable = true; + fileSystems = ["/" "/home2"]; + }; services.syncthing = { enable = true; -- cgit v1.2.3