nix-config/nixos/_mixins/services/smartmon.nix
Greg Burd 86706b1fc7 wimpy-ified
inspired by wimpysworld nix-config
2023-09-25 14:05:07 -04:00

11 lines
206 B
Nix

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