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/spt-mox2.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nixos/machine/spt-mox2.nix') diff --git a/nixos/machine/spt-mox2.nix b/nixos/machine/spt-mox2.nix index cf94798..7eb5c59 100644 --- a/nixos/machine/spt-mox2.nix +++ b/nixos/machine/spt-mox2.nix @@ -22,6 +22,11 @@ with lib; { }; }; + services.btrfs.autoScrub = { + enable = true; + fileSystems = ["/"]; + }; + networking = { useNetworkd = true; useDHCP = false; -- cgit v1.2.3