aboutsummaryrefslogtreecommitdiffstats
path: root/modules/scripts/lib.nix
Commit message (Collapse)AuthorAgeLines
* feat: completions for all scripts zshArpit Chakladar2026-08-29-1/+0
| | | | | | - Added zsh completions for git-log-graph, gpg-backup and screen-recording - Using bash for the scripts, for consistency and cross platform support
* feat: added auto-completion for usque-warp, fixed usque-warp disconnectArpit Chakladar2026-08-29-17/+42
| | | | | - Added zsh auto-completion for usque-warp - Fixed usque-warp disconnect
* feat: moved gpg data directory, other gopass ssh keys, script builderArpit Chakladar2026-08-04-23/+11
| | | | | | | | | | - Using ~/.local/share/gnupg/ for storing the data for gnupg, and made the necessary changes in all places to that effect - Additional ssh keys can be added to gopass under ssh/, which is on top of the git servers that already existed - Using pkgs.writeShellApplication for creating the scripts, stopped setting path for each dependency (creating a long PATH variable and thus finding binaries may take longer), instead using the inbuild dependency (runtimeInputs) for the scripts
* feat: added icons to desktop entriesArpit Chakladar2026-08-01-0/+5
| | | | | | - Text-based applications (neomutt, impala, ...) start a desktop session by running inside of kitty and thus had kitty's icon, but now we are using their own icons.
* feat: migrate from lf to yazi as default file managerArpit Chakladar2026-07-23-1/+17
| | | | | | | | | - Replace lf module with yazi module including base16 theme - Remove file-preview and file-preview-clean scripts (no longer needed) - Add yazi-file-chooser script for XDG Desktop Portal integration - Update i3 keybinding to use yazi - Add GTK_USE_PORTAL and TERMCMD session variables - Add extraLinks support to mkScriptModule
* refactor(scripts): split monolithic module into per-script submodulesArpit Chakladar2026-07-18-0/+94
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