chore: Simplify htop module

This commit is contained in:
Donovan Glover 2024-04-03 10:12:54 -04:00
parent 2048bc62f8
commit 9ccdacaadf
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,18 +1,22 @@
{ pkgs, ... }: { pkgs, ... }:
let
inherit (pkgs) htop-vim;
in
{ {
programs.htop = { programs.htop = {
enable = true; enable = true;
package = pkgs.htop-vim; package = htop-vim;
settings = { settings = {
tree_view = 1; tree_view = true;
hide_userland_threads = 1; hide_userland_threads = true;
highlight_changes = 1; highlight_changes = true;
show_cpu_frequency = 1; show_cpu_frequency = true;
show_cpu_temperature = 1; show_cpu_temperature = true;
show_program_path = 0; highlight_base_name = true;
highlight_base_name = 1;
show_program_path = false;
}; };
}; };
} }