Auto trim/scrub zfs

This commit is contained in:
dump_stack() 2023-01-09 22:41:09 +00:00
parent 8d551299d9
commit a08f15df96
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -1,4 +1,5 @@
{ config, pkgs, lib, ... }:
let
secrets = import ./secrets.nix;
in {
@ -59,6 +60,11 @@ in {
defaults.email = secrets.letsencryptEmail;
};
services.zfs = {
autoScrub.enable = true;
trim.enable = true;
};
time.timeZone = "UTC";
system.autoUpgrade = {