Auto trim/scrub zfs
This commit is contained in:
parent
8d551299d9
commit
a08f15df96
@ -1,4 +1,5 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
secrets = import ./secrets.nix;
|
secrets = import ./secrets.nix;
|
||||||
in {
|
in {
|
||||||
@ -59,6 +60,11 @@ in {
|
|||||||
defaults.email = secrets.letsencryptEmail;
|
defaults.email = secrets.letsencryptEmail;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.zfs = {
|
||||||
|
autoScrub.enable = true;
|
||||||
|
trim.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
time.timeZone = "UTC";
|
time.timeZone = "UTC";
|
||||||
|
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
|
Loading…
Reference in New Issue
Block a user