From 13f066d79d974e8dabfb25244d24491e187c9267 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 25 Mar 2021 00:40:22 +0100 Subject: [PATCH] poseidon: enable btrfs scrub --- hosts/poseidon/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/poseidon/default.nix b/hosts/poseidon/default.nix index b4d487a..74a9f46 100644 --- a/hosts/poseidon/default.nix +++ b/hosts/poseidon/default.nix @@ -19,6 +19,13 @@ in boot.supportedFilesystems = [ "btrfs" ]; + services.btrfs = { + autoScrub = { + enable = true; + fileSystems = [ "/" ]; + }; + }; + networking.hostName = "poseidon"; # Define your hostname. networking.domain = "alarsyo.net";