From d775a2191799f17654b829e68afb2c3f56bcfcb5 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 3 Jan 2016 06:09:12 +0100 Subject: [PATCH] ma 2 smartd: enable exim-retiolum by default --- 2configs/smart-monitor.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/2configs/smart-monitor.nix b/2configs/smart-monitor.nix index 7086f62..9b0290a 100644 --- a/2configs/smart-monitor.nix +++ b/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"; }]; };