mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
levi: trim zfs daily
This commit is contained in:
parent
0c1f8c19c4
commit
9429533a9e
1 changed files with 4 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue