mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-04-03 12:51:23 +02:00
common/smartd: add smartctl
to environment packages
This commit is contained in:
parent
bf2959c68d
commit
69f98933a4
@ -1,4 +1,8 @@
|
|||||||
{ ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
services.smartd.enable = true;
|
services.smartd.enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
environment.systemPackages = lib.optionals config.services.smartd.enable (with pkgs; [
|
||||||
|
smartmontools
|
||||||
|
]);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user