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:
commit
5a73cd4f68
|
@ -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…
Reference in a new issue