common/smartd: add `smartctl` to environment packages
This commit is contained in:
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
|
||||
]);
|
||||
}
|
Loading…
Reference in New Issue