refactor(text): extract text helper to rrvsh/text.nix

This commit adds the rrvsh/text.nix flake to manage text generation.
It also removes the old text generation helpers module and updates the
README and flake.nix files to use the new flake.
This commit is contained in:
Mohammad Rafiq 2025-07-06 05:14:55 +08:00
parent f8e81564d3
commit 7a74f1d6c0
No known key found for this signature in database
6 changed files with 24 additions and 95 deletions

View file

@ -5,9 +5,4 @@ This flake serves as a monorepo for my systems (using IaC), dotfiles, and script
This flake uses the [files flake-parts module](https://flake.parts/options/files.html) to generate documentation.
The list of generated files are:
- [docs/cheatsheet.md](docs/cheatsheet.md)
- [README.md](README.md)
## Helpers
The following are some helpers for the repo as a whole.
### Generating Text
The option `text.<name>` supports either a string or a submodule with attributes order and parts.
The parts attribute can either be a string, which will get concatenated in the order laid out in `text.<name>.order`, or can itself have the attributes order and parts, in which case it will be evaluated recursively.
- [README.md](README.md)