Increase fstrim frequency
This commit is contained in:
parent
950fd1e7ee
commit
1e2da260cb
1 changed files with 9 additions and 6 deletions
|
@ -20,13 +20,16 @@
|
|||
|
||||
fileSystems."/persist".neededForBoot = true;
|
||||
|
||||
services.zfs = {
|
||||
autoScrub.enable = true;
|
||||
autoSnapshot = {
|
||||
enable = true;
|
||||
flags = "-k -p --utc";
|
||||
services = {
|
||||
fstrimg.interval = "daily";
|
||||
zfs = {
|
||||
autoScrub.enable = true;
|
||||
autoSnapshot = {
|
||||
enable = true;
|
||||
flags = "-k -p --utc";
|
||||
};
|
||||
trim.interval = "daily";
|
||||
};
|
||||
trim.interval = "daily";
|
||||
};
|
||||
|
||||
boot.initrd.postResumeCommands = lib.mkAfter ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue