nixos/zfs: Enable trim by default (#69672)

nixos/zfs: Enable trim by default
This commit is contained in:
Jörg Thalheim
2019-09-28 10:07:12 +01:00
committed by GitHub

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";