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:
parent
164fade4c4
commit
ff20ccdfcb
1 changed files with 25 additions and 11 deletions
|
|
@ -23,21 +23,35 @@ in
|
||||||
|
|
||||||
extraPackages = lib.mkOption {
|
extraPackages = lib.mkOption {
|
||||||
type = lib.types.listOf lib.types.package;
|
type = lib.types.listOf lib.types.package;
|
||||||
default = with pkgs; [
|
default =
|
||||||
trash-cli
|
with pkgs;
|
||||||
killall
|
[
|
||||||
|
trash-cli
|
||||||
|
killall
|
||||||
|
|
||||||
fd
|
fd
|
||||||
ripgrep
|
ripgrep
|
||||||
|
|
||||||
iftop
|
iftop
|
||||||
dust
|
dust
|
||||||
compsize
|
compsize
|
||||||
|
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
|
||||||
python3
|
python3
|
||||||
];
|
]
|
||||||
|
++ (
|
||||||
|
if config.nixowos.graphical.nvidia.enable then
|
||||||
|
[
|
||||||
|
btop-cuda
|
||||||
|
nvtopPackages.nvidia
|
||||||
|
]
|
||||||
|
else
|
||||||
|
[
|
||||||
|
btop-rocm
|
||||||
|
nvtopPackages.amd
|
||||||
|
]
|
||||||
|
);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue