Make it possible to disable smartd per-machine

On virtual machines it does not make much sense to have it activated
(also the service fails to start).
This commit is contained in:
Simon Bruder 2021-02-01 17:03:26 +01:00
parent cce86ac2c9
commit 34c801c7e9
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -86,7 +86,7 @@ in
services.journald.extraConfig = "Storage = persistent"; services.journald.extraConfig = "Storage = persistent";
# Hard drive monitoring # Hard drive monitoring
services.smartd.enable = true; services.smartd.enable = lib.mkDefault true;
# Network monitoring # Network monitoring
services.vnstat.enable = true; services.vnstat.enable = true;