aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/nvtop/default.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-11-29 00:27:09 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-11-29 00:27:09 +0530
commit012f5fc45afc81e18b4ae564ab8207b8c4e02d2a (patch)
treec0319a82c986d117ecccf58e9e6a54fad1236cd8 /modules/tools/nvtop/default.nix
parent170461002890d55718618bec64feaa8856c3a6d4 (diff)
downloadhome-manager-config-012f5fc45afc81e18b4ae564ab8207b8c4e02d2a.tar.gz
home-manager-config-012f5fc45afc81e18b4ae564ab8207b8c4e02d2a.zip
Added a convenience script system-monitor that runs both bottom (for cpu + cpu temps + network monitoring) and nvtop for graphics card mintoring with tmux.
Diffstat (limited to 'modules/tools/nvtop/default.nix')
-rw-r--r--modules/tools/nvtop/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/tools/nvtop/default.nix b/modules/tools/nvtop/default.nix
new file mode 100644
index 0000000..7fcbac0
--- /dev/null
+++ b/modules/tools/nvtop/default.nix
@@ -0,0 +1,13 @@
+{ config, pkgs, lib, ... }:
+
+{
+ options.tools.nvtop = {
+ enable = lib.mkEnableOption "Enables nvtop.";
+ };
+
+ config = lib.mkIf config.tools.nvtop.enable {
+ home.packages = with pkgs; [
+ nvtopPackages.full
+ ];
+ };
+}