mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +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
|
let
|
||||||
persist = "/nix/persist";
|
persist = "/nix/persist";
|
||||||
in
|
in
|
||||||
|
@ -53,6 +53,9 @@ in
|
||||||
users.users.sean.passwordFile = "${persist}/shadow_sean";
|
users.users.sean.passwordFile = "${persist}/shadow_sean";
|
||||||
users.users.root.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.cpu.intel.updateMicrocode = true;
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
system.stateVersion = "22.05";
|
system.stateVersion = "22.05";
|
||||||
|
|
Loading…
Reference in a new issue