From 0c4f3acb281be6290c55a6e96bc29fab5b5c7a11 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 11 Sep 2023 18:24:28 +0200 Subject: stockholm -> hrm --- configs/smartd.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 configs/smartd.nix (limited to 'configs/smartd.nix') diff --git a/configs/smartd.nix b/configs/smartd.nix new file mode 100644 index 0000000..9c4d8b2 --- /dev/null +++ b/configs/smartd.nix @@ -0,0 +1,17 @@ +{ config, pkgs, ... }: + +{ + services.smartd = { + enable = true; + devices = [ + { + device = "DEVICESCAN"; + options = toString [ + "-a" + "-m ${config.krebs.users.tv.mail}" + "-s (O/../.././09|S/../.././04|L/../../6/05)" + ]; + } + ]; + }; +} -- cgit v1.2.3