add btop and nvtop

this isn't perfect, because it assumes you're using either amd or nvidia.
but, it's good enough.
This commit is contained in:
Elec3137 2026-02-04 13:25:15 -08:00
commit ff20ccdfcb

View file

@ -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
]
);
};
};