diff --git a/home/programs/terminal/tools/btop.nix b/home/programs/terminal/tools/btop.nix new file mode 100644 index 0000000..7c58ef4 --- /dev/null +++ b/home/programs/terminal/tools/btop.nix @@ -0,0 +1,11 @@ +{ + programs.btop = { + enable = true; + settings = { + update_ms = 2000; # recommended >=2s for good graph sample rate + proc_sorting = "memory"; + proc_tree = true; # show processes in tree view (showing parent/child relationships) + base_10_sizes = false; # us KB instead of KiB + }; + }; +} diff --git a/home/programs/terminal/tools/default.nix b/home/programs/terminal/tools/default.nix index a5f66bd..344a89d 100644 --- a/home/programs/terminal/tools/default.nix +++ b/home/programs/terminal/tools/default.nix @@ -8,5 +8,6 @@ _: { ./zoxide.nix ./tealdeer.nix ./hyfetch.nix + ./btop.nix ]; }