mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 01:33:17 +01:00
bd6fabad67
It's actually easier to maintain when programs with non-trivial configs have their own module.
23 lines
375 B
Nix
23 lines
375 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
inherit (pkgs) htop-vim;
|
|
in
|
|
{
|
|
programs.htop = {
|
|
enable = true;
|
|
package = htop-vim;
|
|
|
|
settings = {
|
|
tree_view = true;
|
|
hide_userland_threads = true;
|
|
highlight_changes = true;
|
|
show_cpu_frequency = true;
|
|
show_cpu_temperature = true;
|
|
highlight_base_name = true;
|
|
|
|
show_program_path = false;
|
|
};
|
|
};
|
|
}
|