dotfiles/modules/system/monitoring/default.nix

28 lines
421 B
Nix
Raw Normal View History

{
options,
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.aa.system.monitoring;
in {
options.aa.system.monitoring = with types; {
enable = mkEnableOption "monitoring";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
htop
lm_sensors
powertop
zenith
];
powerManagement.powertop.enable = true;
2023-06-11 01:07:00 +00:00
aa.apps.btop.enable = true;
};
}