From a0afbfe4cfeb05bef30e34d46493c2c80f4b9526 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Wed, 27 Oct 2021 16:10:01 -0400 Subject: [PATCH] profiles/btrfs: allow disabling auto scrub --- profiles/btrfs.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/btrfs.nix b/profiles/btrfs.nix index b688f11..051b131 100644 --- a/profiles/btrfs.nix +++ b/profiles/btrfs.nix @@ -1,10 +1,10 @@ -{ pkgs, ... }: { +{ pkgs, lib, ... }: { environment.systemPackages = with pkgs; [ btrfs-progs ]; services.btrfs.autoScrub = { - enable = true; + enable = lib.mkDefault true; interval = "monthly"; }; }