From fbbb22a2d3be6401205f1623f4b57c1557317f28 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Fri, 5 Apr 2024 01:01:45 +0200 Subject: [PATCH] Add btop --- home/programs/terminal/tools/btop.nix | 11 +++++++++++ home/programs/terminal/tools/default.nix | 1 + 2 files changed, 12 insertions(+) create mode 100644 home/programs/terminal/tools/btop.nix 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 ]; }