{ 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" ]; }; }; }; }