aboutsummaryrefslogtreecommitdiffstats
path: root/modules/scripts/system-monitor.sh
Commit message (Collapse)AuthorAgeLines
* refactor(scripts): split monolithic module into per-script submodulesArpit Chakladar2026-07-18-29/+0
| | | | | | | | | | | | | | | | | Extract shared `mkScript` and `mkScriptModule` helpers into `lib.nix` Split each script into `modules/scripts/<name>/` with its own `default.nix`, `script.sh`, and `assertions.nix` Remove `conditions` parameter from `mkScriptModule`; move condition assertions into per-script `assertions.nix` files with inline checks and error messages Simplify `mkScriptModule` to return `{ options, moduleConfig }` instead of a module function, taking `config` as a direct parameter Add `description` field to `mkScript` that inserts the description as a `# <text>` comment between the shebang and env vars Thread `description` through `mkScriptModule` to each `default.nix` Move top comment lines from each `script.sh` into the `description` field and remove from sources to avoid duplication Remove old flat `.sh` files from `modules/scripts/` root
* relying on path variable for accessing the binaries in the script rather ↵Arpit Chakladar2026-04-24-12/+12
| | | | than passing them as env variables
* injecting variables into scripts so that they use the actual path of th ↵Arpit Chakladar2026-04-13-12/+12
| | | | binaries of the packages
* Added more documentation commentsArpit Chakladar2026-04-11-0/+4
|
* Using spaces instead of tabsArpit Chakladar2026-03-12-1/+1
|
* Added some more utility packagesArpit Chakladar2025-12-07-9/+0
|
* Added a convenience script system-monitor that runs both bottom (for cpu + ↵Arpit Chakladar2025-11-29-0/+34
cpu temps + network monitoring) and nvtop for graphics card mintoring with tmux.