From a21636baa2f1593c245e54f68fcea8c01ff18a96 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Thu, 30 Jun 2022 18:58:34 +0200 Subject: [PATCH] reduce frequency of high IO operations --- systems/LoutreOS/configuration.nix | 5 ++++- systems/LoutreOS/monitoring.nix | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/systems/LoutreOS/configuration.nix b/systems/LoutreOS/configuration.nix index cf299f563..28e111cf2 100644 --- a/systems/LoutreOS/configuration.nix +++ b/systems/LoutreOS/configuration.nix @@ -32,7 +32,10 @@ services.zfs = { autoSnapshot.enable = true; - autoScrub.enable = true; + autoScrub = { + enable = true; + interval = "monthly"; + }; }; hardware.usbWwan.enable = true; diff --git a/systems/LoutreOS/monitoring.nix b/systems/LoutreOS/monitoring.nix index 29915d2b5..a2120f0cb 100644 --- a/systems/LoutreOS/monitoring.nix +++ b/systems/LoutreOS/monitoring.nix @@ -7,7 +7,7 @@ in services = { smartd = { enable = true; - defaults.monitored = "-a -o on -s (S/../.././02|L/../../1/04)"; + defaults.monitored = "-a -o on -s (S/../.././02|L/../15/./02)"; notifications.mail = { enable = true; recipient = "paul@nyanlout.re";