diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-11-29 00:27:09 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-11-29 00:27:09 +0530 |
| commit | 012f5fc45afc81e18b4ae564ab8207b8c4e02d2a (patch) | |
| tree | c0319a82c986d117ecccf58e9e6a54fad1236cd8 /modules/tools | |
| parent | 170461002890d55718618bec64feaa8856c3a6d4 (diff) | |
| download | home-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')
| -rw-r--r-- | modules/tools/bottom/default.nix | 13 | ||||
| -rw-r--r-- | modules/tools/brave/default.nix | 2 | ||||
| -rw-r--r-- | modules/tools/default.nix | 3 | ||||
| -rw-r--r-- | modules/tools/nvtop/default.nix | 13 | ||||
| -rw-r--r-- | modules/tools/tmux/default.nix | 13 |
5 files changed, 43 insertions, 1 deletions
diff --git a/modules/tools/bottom/default.nix b/modules/tools/bottom/default.nix new file mode 100644 index 0000000..2a7cb01 --- /dev/null +++ b/modules/tools/bottom/default.nix @@ -0,0 +1,13 @@ +{ config, pkgs, lib, ... }: + +{ + options.tools.bottom = { + enable = lib.mkEnableOption "Enables bottom."; + }; + + config = lib.mkIf config.tools.bottom.enable { + home.packages = with pkgs; [ + bottom + ]; + }; +} diff --git a/modules/tools/brave/default.nix b/modules/tools/brave/default.nix index 3fd5f22..d1b0d3e 100644 --- a/modules/tools/brave/default.nix +++ b/modules/tools/brave/default.nix @@ -22,7 +22,7 @@ home.file.".local/bin/brave" = { text = '' -#!${pkgs.bash}/bin/bash +#!/bin/sh exec ${pkgs.brave}/bin/brave --force-device-scale-factor=1.2 "$@" ''; executable = true; diff --git a/modules/tools/default.nix b/modules/tools/default.nix index d733a12..f40f3f3 100644 --- a/modules/tools/default.nix +++ b/modules/tools/default.nix @@ -4,6 +4,7 @@ imports = [ ./acpi ./bat + ./bottom ./brave ./brightnessctl ./feh @@ -15,9 +16,11 @@ ./neofetch ./neovim ./nnn + ./nvtop ./pamixer ./playerctl ./rofi + ./tmux ./zsh ]; } 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 + ]; + }; +} diff --git a/modules/tools/tmux/default.nix b/modules/tools/tmux/default.nix new file mode 100644 index 0000000..7559f1a --- /dev/null +++ b/modules/tools/tmux/default.nix @@ -0,0 +1,13 @@ +{ config, pkgs, lib, ... }: + +{ + options.tools.tmux = { + enable = lib.mkEnableOption "Enables tmux."; + }; + + config = lib.mkIf config.tools.tmux.enable { + home.packages = with pkgs; [ + tmux + ]; + }; +} |
