nixos/zfs: Enable trim by default

This commit is contained in:
Svein Ove Aas
2019-09-27 18:24:23 +01:00
parent f6a894475c
commit e4f975765f

View File

@@ -268,7 +268,12 @@ in
};
services.zfs.trim = {
enable = mkEnableOption "Enables periodic TRIM on all ZFS pools.";
enable = mkOption {
description = "Whether to enable periodic TRIM on all ZFS pools.";
default = true;
example = false;
type = types.bool;
};
interval = mkOption {
default = "weekly";