From 9fba49481145e38e8915109b890f9890fea5ff5d Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 28 Mar 2024 14:35:13 -0500 Subject: [PATCH] Fix bad pinentry thing and fix htop config --- modules/home-manager/htop.nix | 60 +++++++++++++++++++++++++++++++++++ modules/nixos/gnome.nix | 2 +- 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/modules/home-manager/htop.nix b/modules/home-manager/htop.nix index 67c3e2b..994d0e6 100644 --- a/modules/home-manager/htop.nix +++ b/modules/home-manager/htop.nix @@ -2,6 +2,16 @@ programs.htop = { enable = true; settings = { + # hide_kernel_threads = 1; + # hide_userland_threads = 1; + # show_program_path = 0; + # header_margin = 0; + # show_cpu_frequency = 1; + # highlight_base_name = 1; + # tree_view = 0; + # htop_version = "3.2.2"; + # config_reader_min_version = 3; + fields = "0 48 17 18 38 39 40 2 46 47 49 1"; hide_kernel_threads = 1; hide_userland_threads = 1; show_program_path = 0; @@ -9,6 +19,56 @@ show_cpu_frequency = 1; highlight_base_name = 1; tree_view = 0; + hide_running_in_container = 0; + shadow_other_users = 0; + show_thread_names = 0; + highlight_deleted_exe = 1; + shadow_distribution_path_prefix = 0; + highlight_megabytes = 1; + highlight_threads = 1; + highlight_changes = 0; + highlight_changes_delay_secs = 5; + find_comm_in_cmdline = 1; + strip_exe_from_cmdline = 1; + show_merged_command = 0; + screen_tabs = 1; + detailed_cpu_time = 0; + cpu_count_from_one = 0; + show_cpu_usage = 1; + show_cpu_temperature = 0; + degree_fahrenheit = 0; + update_process_names = 0; + account_guest_in_cpu_meter = 0; + enable_mouse = 1; + delay = 15; + hide_function_bar = 0; + header_layout = "two_50_50"; + column_meters_0 = "LeftCPUs Memory Swap"; + column_meter_modes_0 = "1 1 1"; + column_meters_1 = "RightCPUs Tasks LoadAverage Uptime"; + column_meter_modes_1 = "1 2 2 2"; + sort_key = 47; + tree_sort_key = 0; + sort_direction = -1; + tree_sort_direction = 1; + tree_view_always_by_pid = 0; + all_branches_collapsed = 0; + # screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command + # .sort_key=PERCENT_MEM + # .tree_sort_key=PID + # .tree_view=0 + # .tree_view_always_by_pid=0 + # .sort_direction=-1 + # .tree_sort_direction=1 + # .all_branches_collapsed=0 + # screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE Command + # .sort_key=IO_RATE + # .tree_sort_key=PID + # .tree_view=0 + # .tree_view_always_by_pid=0 + # .sort_direction=-1 + # .tree_sort_direction=1 + # .all_branches_collapsed=0 }; }; } diff --git a/modules/nixos/gnome.nix b/modules/nixos/gnome.nix index 204735d..e336661 100644 --- a/modules/nixos/gnome.nix +++ b/modules/nixos/gnome.nix @@ -24,7 +24,7 @@ programs.gnupg.agent = { enable = true; - pinentryFlavor = "gnome3"; + # pinentryFlavor = "gnome3"; enableSSHSupport = true; };