Better btrfs autoScrub defaults
This commit is contained in:
parent
93b0ccf178
commit
a93c0fdff1
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ let
|
|||
unique (attrValues (mapAttrs (_: v: v.device) btrfsFileSystems));
|
||||
in {
|
||||
services.btrfs.autoScrub = {
|
||||
enable = true;
|
||||
enable = btrfsDevices != [ ];
|
||||
fileSystems = btrfsDevices;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue