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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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
}