From 4d744f65ef83ae3b344fdb90f687fb5b6e778d71 Mon Sep 17 00:00:00 2001 From: System administrator Date: Wed, 26 Sep 2018 15:16:04 +0200 Subject: [PATCH] enabled smartd --- configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configuration.nix b/configuration.nix index a0dc5bf..4e0d75d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -103,6 +103,11 @@ in { enableAutosuggestions = true; }; + services.smartd = + { enable = true; + devices = [ { device = "/dev/sda"; } { device = "/dev/sdb"; } ]; + }; + # fix nix-env memory issues boot.kernel.sysctl."vm.overcommit_memory" = "1";