nix-config/nixos/_mixins/services/smartmon.nix

12 lines
206 B
Nix
Raw Permalink Normal View History

{ desktop, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
nvme-cli
smartmontools
] ++ lib.optionals (desktop != null) [
gsmartcontrol
];
services.smartd.enable = true;
}