feat: add files module, text helper, and update readme generation

This commit is contained in:
Mohammad Rafiq 2025-07-03 02:08:54 +08:00
parent a19ede01a2
commit 295f5daba9
No known key found for this signature in database
7 changed files with 79 additions and 25 deletions

View file

@ -0,0 +1,11 @@
{ inputs, ... }:
{
imports = [ inputs.files.flakeModules.default ];
perSystem = psArgs: {
make-shells.default.packages = [ psArgs.config.files.writer.drv ];
};
text.readme.parts.generated-files = ''
This flake uses the [files flake-parts module](https://flake.parts/options/files.html) to generate documentation.
The list of generated files are:
'';
}

View file

@ -0,0 +1,5 @@
{ inputs, ... }:
{
#TODO: add to readme
imports = [ inputs.make-shell.flakeModules.default ];
}