mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-20 10:36: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;
|
||
|
}
|