levi: trim zfs daily

This commit is contained in:
Sean Buckley 2023-04-12 10:20:43 -04:00
parent 0c1f8c19c4
commit 9429533a9e

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
persist = "/nix/persist";
in
@ -53,6 +53,9 @@ in
users.users.sean.passwordFile = "${persist}/shadow_sean";
users.users.root.passwordFile = "${persist}/shadow_sean";
services.zfs.trim.interval = "03:05";
systemd.timers.zpool-trim.timerConfig.Persistent = lib.mkForce "no";
hardware.cpu.intel.updateMicrocode = true;
hardware.enableRedistributableFirmware = true;
system.stateVersion = "22.05";