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