2023-11-11 00:06:42 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2022-08-21 21:56:42 +00:00
|
|
|
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" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|