zfs: enable trim

This commit is contained in:
Sandro - 2023-02-18 23:49:05 +01:00
parent 4796998461
commit 1381cedeb2
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,10 @@ in
zfs.forceImportRoot = false;
};
services.zfs.autoScrub.enable = true;
services.zfs = {
autoScrub.enable = true;
trim.enable = true;
};
virtualisation.containers.storage.settings = lib.recursiveUpdate options.virtualisation.containers.storage.settings.default {
# fixes: Error: 'overlay' is not supported over zfs, a mount_program is required: backing file system is unsupported for this graph driver