mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-08 09:24:17 +01:00
ebd96d805e
Although many people have tried to make more modern top-like programs, my favorite is still htop *by far*. NixOS includes htop-vim in its official repositories, which is great, and this change removes the /nix/store prefixes from all the processes, making htop overall much easier to read and navigate.
18 lines
324 B
Nix
18 lines
324 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
programs.htop = {
|
|
enable = true;
|
|
package = pkgs."htop-vim";
|
|
settings = {
|
|
tree_view = 1;
|
|
hide_userland_threads = 1;
|
|
highlight_changes = 1;
|
|
show_cpu_frequency = 1;
|
|
show_cpu_temperature = 1;
|
|
show_program_path = 0;
|
|
highlight_base_name = 1;
|
|
};
|
|
};
|
|
}
|