diff --git a/machines/morpheus.nix b/machines/morpheus.nix index 2a262a0..bb5d77d 100644 --- a/machines/morpheus.nix +++ b/machines/morpheus.nix @@ -103,6 +103,13 @@ inputs.nixpkgs.lib.nixosSystem { supportedFilesystems = [ "ntfs" ]; }; + # btrf autoscrub + services.btrfs.autoScrub = { + enable = true; + # multiple subvolumes of the same fs are mounted. only scrub '/' to prevent multiple runs + fileSystems = [ "/" ]; + }; + fileSystems."/" = { device = "/dev/disk/by-uuid/93bdadfc-961a-4ea6-aef0-d3cd50847f0b"; fsType = "btrfs";