diff --git a/hosts/levi/default.nix b/hosts/levi/default.nix index c2a399b..3ee9a74 100644 --- a/hosts/levi/default.nix +++ b/hosts/levi/default.nix @@ -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";