mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 16:23:57 +01:00
chore: Simplify htop module
This commit is contained in:
parent
2048bc62f8
commit
9ccdacaadf
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user