summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-01-03 06:09:12 +0100
committermakefu <github@syntax-fehler.de>2016-01-03 06:09:12 +0100
commit1ba7e916206ee1d40a62c13a65f68da5968182a9 (patch)
treed60f6af0b42e03d4816296040e6833f1e0d4309e /makefu
parente67393f792d885256456341eee1b9ed21403c01f (diff)
ma 2 smartd: enable exim-retiolum by default
Diffstat (limited to 'makefu')
-rw-r--r--makefu/2configs/smart-monitor.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/makefu/2configs/smart-monitor.nix b/makefu/2configs/smart-monitor.nix
index 7086f622b..9b0290a9b 100644
--- a/makefu/2configs/smart-monitor.nix
+++ b/makefu/2configs/smart-monitor.nix
@@ -1,5 +1,6 @@
-{ config, ... }:
+{ config, lib, ... }:
{
+ krebs.exim-retiolum.enable = lib.mkDefault true;
services.smartd = {
enable = true;
notifications = {
@@ -11,7 +12,7 @@
# short daily, long weekly, check on boot
defaults.monitored = "-a -o on -s (S/../.././02|L/../../7/04)";
- devices = [{
+ devices = lib.mkDefault [{
device = "/dev/sda";
}];
};