dotfiles/modules/nixos/system/monitoring/default.nix

27 lines
408 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
];
powerManagement.powertop.enable = true;
2023-06-11 01:07:00 +00:00
aa.apps.btop.enable = true;
};
}