Auto trim/scrub zfs
This commit is contained in:
parent
8d551299d9
commit
a08f15df96
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user