+/config

my dotfiles and nix configuration

git clone https://git.julia.blue/+/config

Julia Ryannix-darwin settings for GLaDOSb7c82b2

main
885 B40 linesraw
1{ config, ...}: {
2  programs.htop.enable = true;
3  programs.htop.settings = {
4    fields = with config.lib.htop.fields; [
5      PID STARTTIME M_SHARE M_RESIDENT M_SIZE PERCENT_CPU TIME COMM
6    ];
7
8    delay = 20;
9
10    highlight_base_name = 1;
11    highlight_megabytes = 1;
12    highlight_threads = 1;
13    highlight_changes = 1;
14    highlight_changes_delay_secs = 1;
15
16    hide_kernel_threads = 1;
17    hide_userland_threads = 1;
18
19    show_cpu_usage = 1;
20    show_cpu_frequency = 1;
21    show_cpu_temperature = 1;
22
23    show_program_path = 0;
24
25    # screen_tabs = 1;
26
27  } // (with config.lib.htop; leftMeters [
28    (bar "CPU")
29    (bar "Memory")
30    (bar "Swap")
31    (text "DiskIO")
32    (text "NetworkIO")
33  ]) // (with config.lib.htop; rightMeters [
34    (text "Tasks")
35    (text "Systemd")
36    (text "LoadAverage")
37    (text "PressureStallCPUSome")
38    (text "PressureStallIOSome")
39  ]);
40}