mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-10-05 19:28:26 +02:00
@@ -0,0 +1,21 @@
|
||||
{pkgs, ...}: let
|
||||
btopPackage = pkgs.btop.override {cudaSupport = true;};
|
||||
in {
|
||||
programs.btop = {
|
||||
enable = true;
|
||||
package = btopPackage;
|
||||
settings = {
|
||||
vim_keys = true;
|
||||
shown_boxes = "cpu mem net proc gpu0";
|
||||
};
|
||||
};
|
||||
|
||||
xdg.desktopEntries.btop = {
|
||||
name = "btop++";
|
||||
exec = "${pkgs.ghostty}/bin/ghostty +new-window -e ${btopPackage}/bin/btop";
|
||||
comment = "Ressources monitor (btop)";
|
||||
categories = ["Settings"];
|
||||
terminal = false;
|
||||
settings.Keywords = "ressource;ressources;btop;usage;monitoring;cpu;gpu;memory";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user