1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

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
commit 5a73cd4f68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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