htop: fix applying settings

This commit is contained in:
Daniella / Tove 2024-10-26 19:20:46 +02:00
parent 05ce120f9a
commit ba1c9854a3
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -71,31 +71,32 @@ in
programs.fish.enable = true;
programs.htop.enable = true;
programs.htop.settings = {
hide_kernel_threads="1";
hide_userland_threads="1";
show_thread_names="1";
show_program_path="0";
highlight_base_name="1";
highlight_deleted_exe="1";
find_comm_in_cmdline="1";
strip_exe_from_cmdline="1";
show_merged_command="1";
show_cpu_usage="1";
show_cpu_frequency="1";
show_cpu_temperature="1";
delay="4";
header_layout="two_50_50";
column_meters_0="AllCPUs Memory Swap CPU PressureStallCPUSome";
column_meter_modes_0="1 1 1 3 2";
column_meters_1="Tasks LoadAverage Uptime DiskIO NetworkIO NetworkIO PressureStallIOSome PressureStallMemorySome";
column_meter_modes_1="2 2 2 1 1 3 2 2";
tree_view="1";
sort_key="47";
tree_sort_key="47";
sort_direction="-1";
tree_sort_direction="-1";
};
environment.etc."htoprc".text = ''
# Global htop configuration
hide_kernel_threads=1
hide_userland_threads=1
show_thread_names=1
show_program_path=0
highlight_base_name=1
highlight_deleted_exe=1
find_comm_in_cmdline=1
strip_exe_from_cmdline=1
show_merged_command=1
show_cpu_usage=1
show_cpu_frequency=1
show_cpu_temperature=1
delay=4
header_layout=two_50_50
column_meters_0=AllCPUs Memory Swap CPU PressureStallCPUSome
column_meter_modes_0=1 1 1 3 2
column_meters_1=Tasks LoadAverage Uptime DiskIO NetworkIO NetworkIO PressureStallIOSome PressureStallMemorySome
column_meter_modes_1=2 2 2 1 1 3 2 2
tree_view=1
sort_key=47
tree_sort_key=47
sort_direction=-1
tree_sort_direction=-1
'';
# Use the GRUB 2 boot loader.
boot.loader.grub.enable = true;