diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-29 15:32:44 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-29 15:32:44 +0200 |
| commit | ff3406ec16f0d46a997211a78139e29d96e82f49 (patch) | |
| tree | bf746ee137099ecec64c56f3246b7c5185bf7c22 /hosts | |
| parent | 333d4bcf563d8bc341460a5ff5e47c7fa36ddc4a (diff) | |
| download | nixos-ff3406ec16f0d46a997211a78139e29d96e82f49.tar nixos-ff3406ec16f0d46a997211a78139e29d96e82f49.tar.gz nixos-ff3406ec16f0d46a997211a78139e29d96e82f49.tar.bz2 nixos-ff3406ec16f0d46a997211a78139e29d96e82f49.tar.xz nixos-ff3406ec16f0d46a997211a78139e29d96e82f49.zip | |
surtr: zfs no trim but scrub
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/surtr/zfs.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/surtr/zfs.nix b/hosts/surtr/zfs.nix index 72cc79e3..702c545c 100644 --- a/hosts/surtr/zfs.nix +++ b/hosts/surtr/zfs.nix | |||
| @@ -85,5 +85,11 @@ in { | |||
| 85 | }; | 85 | }; |
| 86 | }; | 86 | }; |
| 87 | in builtins.listToAttrs (map mkSnapTimer snapshotNames); | 87 | in builtins.listToAttrs (map mkSnapTimer snapshotNames); |
| 88 | |||
| 89 | services.zfs.trim.enable = false; | ||
| 90 | services.zfs.autoScrub = { | ||
| 91 | enable = true; | ||
| 92 | interval = "Sun, 1..7-*-* 04:00:00"; | ||
| 93 | }; | ||
| 88 | }; | 94 | }; |
| 89 | } | 95 | } |
