16 lines
300 B
Nix
16 lines
300 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
options.c3d2.baremetal = lib.mkEnableOption "baremetal";
|
||
|
|
||
|
config = lib.mkIf config.c3d2.baremetal {
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
lshw
|
||
|
pciutils # lscpi
|
||
|
smartmontools # for smartctl
|
||
|
];
|
||
|
|
||
|
services.smartd.enable = true;
|
||
|
};
|
||
|
}
|