diff options
Diffstat (limited to 'home/profiles')
-rw-r--r-- | home/profiles/base/default.nix | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix index 0be9a53..f654bd4 100644 --- a/home/profiles/base/default.nix +++ b/home/profiles/base/default.nix @@ -69,7 +69,45 @@ in gpg.enable = true; gpg.settings.keyserver = "keys.openpgp.org"; home-manager.enable = true; - htop.enable = true; + + htop = { + enable = true; + + settings = { + color_scheme = 6; + # 0 = false, 1 = true + cpu_count_from_one = 0; + fields = with config.lib.htop.fields; [ + PID + USER + PRIORITY + NICE + M_SIZE + M_RESIDENT + M_SHARE + STATE + PERCENT_CPU + PERCENT_MEM + TIME + COMM + ]; + highlight_base_name = 1; + highlight_megabytes = 1; + highlight_threads = 1; + } // (with config.lib.htop; leftMeters [ + (bar "LeftCPUs4") + (bar "Memory") + (bar "Swap") + (text "NetworkIO") + (text "DiskIO") + ]) // (with config.lib.htop; rightMeters [ + (bar "RightCPUs4") + (text "Tasks") + (text "LoadAverage") + (text "Uptime") + (text "Systemd") + ]); + }; tmux = { enable = true; |