pvv-nixos-config/base/services/smartd.nix

8 lines
192 B
Nix
Raw Normal View History

{ config, pkgs, lib, ... }:
2024-09-01 01:22:56 +02:00
{
services.smartd.enable = lib.mkDefault true;
environment.systemPackages = lib.optionals config.services.smartd.enable (with pkgs; [
smartmontools
]);
2024-09-01 01:22:56 +02:00
}