diff options
author | Karel Kočí <cynerd@email.cz> | 2024-02-19 13:58:00 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2024-02-19 13:58:00 +0100 |
commit | 3f20c20af788e8a8e23ebdd602c4242730d3eb4e (patch) | |
tree | 2163d7008798a572e6195a83bc7120f9c9f3158d /nixos/machine/errol.nix | |
parent | 9e7eca47bb3ddb6e88720cfcb28c995acbb072c1 (diff) | |
download | nixos-personal-3f20c20af788e8a8e23ebdd602c4242730d3eb4e.tar.gz nixos-personal-3f20c20af788e8a8e23ebdd602c4242730d3eb4e.tar.bz2 nixos-personal-3f20c20af788e8a8e23ebdd602c4242730d3eb4e.zip |
nixos: enable autoScrub for BTRFS
Diffstat (limited to 'nixos/machine/errol.nix')
-rw-r--r-- | nixos/machine/errol.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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; |