From 98b95c4dfd6f26092f919116023c6aae8e80c446 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Wed, 27 Oct 2021 10:01:23 -0400 Subject: [PATCH] profiles: add btrfs profile --- profiles/btrfs.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 profiles/btrfs.nix diff --git a/profiles/btrfs.nix b/profiles/btrfs.nix new file mode 100644 index 0000000..eecdd38 --- /dev/null +++ b/profiles/btrfs.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: { + environment.systemPackages = with pkgs; [ + btrfs-progs + ]; + + srvices.btrfs.autoScrub = { + enable = true; + interval = "monthly"; + }; +}