feat: add files module, text helper, and update readme generation
This commit is contained in:
parent
a19ede01a2
commit
295f5daba9
7 changed files with 79 additions and 25 deletions
11
modules/flake-parts/files.nix
Normal file
11
modules/flake-parts/files.nix
Normal 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:
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue