Added documentation about modules.
NixOS and Home Manager both automatically generate documentation using 'nixosOptionsDoc', and now so does hylonix. I can't find any standard reference for where this documentation should go, so I have created a doc attribute in the flake.
This commit is contained in:
parent
2a5ced3905
commit
9232d12f25
3 changed files with 59 additions and 0 deletions
|
|
@ -11,6 +11,8 @@
|
|||
forAllSystems = nixos.lib.genAttrs nixos.lib.systems.flakeExposed;
|
||||
in
|
||||
{
|
||||
docs = forAllSystems (system: nixos.legacyPackages.${system}.callPackage ./docs { inherit self; });
|
||||
|
||||
formatter = forAllSystems (system: nixos.legacyPackages.${system}.nixfmt-tree);
|
||||
|
||||
hmModules = import ./modules/home-manager self.lib.hylonix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue