From ff20ccdfcb160a149b4237c2b74413c19beb4087 Mon Sep 17 00:00:00 2001 From: Elec3137 Date: Wed, 4 Feb 2026 13:25:15 -0800 Subject: [PATCH] add btop and nvtop this isn't perfect, because it assumes you're using either amd or nvidia. but, it's good enough. --- cli/default.nix | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/cli/default.nix b/cli/default.nix index 4fd5801..f957a90 100644 --- a/cli/default.nix +++ b/cli/default.nix @@ -23,21 +23,35 @@ in extraPackages = lib.mkOption { type = lib.types.listOf lib.types.package; - default = with pkgs; [ - trash-cli - killall + default = + with pkgs; + [ + trash-cli + killall - fd - ripgrep + fd + ripgrep - iftop - dust - compsize + iftop + dust + compsize - ffmpeg + ffmpeg - python3 - ]; + python3 + ] + ++ ( + if config.nixowos.graphical.nvidia.enable then + [ + btop-cuda + nvtopPackages.nvidia + ] + else + [ + btop-rocm + nvtopPackages.amd + ] + ); }; };