1
0
Fork 0
pvv-nixos-config/base/services/smartd.nix

8 lines
192 B
Nix

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