forked from Drift/pvv-nixos-config
common/smartd: add smartctl
to environment packages
This commit is contained in:
@@ -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
|
||||||
|
]);
|
||||||
}
|
}
|
Reference in New Issue
Block a user