Set up btrfs weekly cleanup.
This commit is contained in:
7
nodes/hosts/common/services/btrfs.nix
Normal file
7
nodes/hosts/common/services/btrfs.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ pkgs, ...}: {
|
||||
services.btrfs.autoScrub = {
|
||||
enable = true;
|
||||
interval = "weekly";
|
||||
fileSystems = [ "/" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user