common/smartd: add smartctl to environment packages

This commit is contained in:
2024-09-01 01:51:34 +02:00
parent bf2959c68d
commit 69f98933a4

@ -1,4 +1,8 @@
{ ... }:
{ config, pkgs, lib, ... }:
{
services.smartd.enable = true;
services.smartd.enable = lib.mkDefault true;
environment.systemPackages = lib.optionals config.services.smartd.enable (with pkgs; [
smartmontools
]);
}