1
0
Fork 0

common/smartd: add `smartctl` to environment packages

This commit is contained in:
Oystein Kristoffer Tveit 2024-09-01 01:51:34 +02:00
parent bf2959c68d
commit 69f98933a4
Signed by untrusted user: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 6 additions and 2 deletions

View File

@ -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
]);
} }