os/users/hensoko/htop.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
771 B
Nix
Raw Normal View History

2022-08-21 21:56:42 +00:00
{ config, pkgs, lib, self, ... }:
with pkgs lib;
let
psCfg = config.pub-solar;
in
{
home-manager = pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] {
programs.htop = {
enable = true;
settings = {
color_scheme = 6;
delay = 5;
account_guest_in_cpu_meter = true;
enable_mouse = false;
cpu_count_from_one = 0;
detailed_cpu_time = true;
highlight_base_name = 1;
highlight_megabytes = 1;
highlight_threads = 1;
shadow_other_users = true;
tree_view = true;
update_process_names = true;
vim_mode = true;
left_meters = [ "AllCPUs" "Memory" "Swap" ];
right_meters = [ "Hostname" "Tasks" "LoadAverage" "Uptime" ];
};
};
};
}