enable autoScrub on btrfs
This commit is contained in:
parent
e405957978
commit
46855eb036
|
@ -22,4 +22,9 @@
|
|||
"/boot".options = [ "noatime" ];
|
||||
"/".options = [ "noatime" ];
|
||||
};
|
||||
|
||||
services.btrfs.autoScrub = {
|
||||
enable = true;
|
||||
fileSystems = [ "/" ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -38,4 +38,9 @@ in
|
|||
fileSystems."/media/luna/photos".options = net_opts;
|
||||
fileSystems."/media/luna/games".options = net_opts;
|
||||
fileSystems."/media/luna/private".options = net_opts;
|
||||
|
||||
services.btrfs.autoScrub = {
|
||||
enable = true;
|
||||
fileSystems = [ "/" "/media/data" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue