mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-14 16:36:24 +00:00
11 lines
206 B
Nix
11 lines
206 B
Nix
{ desktop, lib, pkgs, ... }:
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
nvme-cli
|
|
smartmontools
|
|
] ++ lib.optionals (desktop != null) [
|
|
gsmartcontrol
|
|
];
|
|
|
|
services.smartd.enable = true;
|
|
}
|