nixos/zfs: Enable trim by default

wip/yesman
Svein Ove Aas 5 years ago
parent f6a894475c
commit e4f975765f
No known key found for this signature in database
GPG Key ID: 4AB8CC5C921AD23D
  1. 7
      nixos/modules/tasks/filesystems/zfs.nix

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

Loading…
Cancel
Save