diff --git a/flake-modules/docs.nix b/flake-modules/docs.nix index bcd9fbe..c5717a6 100644 --- a/flake-modules/docs.nix +++ b/flake-modules/docs.nix @@ -3,14 +3,22 @@ perSystem = { pkgs, ... }: { - packages = { - # Documentation - inherit (import ../docs { inherit pkgs lib; }) - docs - nixos-markdown - nvim-markdown - home-markdown - ; - }; + packages = + let + docs-pkg = import ../docs { inherit pkgs lib; }; + inherit (docs-pkg) + docs + home-markdown + nixos-markdown + nvim-markdown + ; + in + { + # Documentation + inherit docs; + docs-home-markdown = home-markdown; + docs-nixos-markdown = nixos-markdown; + docs-nvim-markdown = nvim-markdown; + }; }; }