mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 00:47:12 +00:00
flake: add docs to packages output
This commit is contained in:
parent
7cb118c9d2
commit
4320399a3e
1 changed files with 8 additions and 3 deletions
11
flake.nix
11
flake.nix
|
@ -18,9 +18,14 @@
|
||||||
darwinModules.home-manager = import ./nix-darwin;
|
darwinModules.home-manager = import ./nix-darwin;
|
||||||
darwinModule = self.darwinModules.home-manager;
|
darwinModule = self.darwinModules.home-manager;
|
||||||
|
|
||||||
packages = forAllSystems (system: {
|
packages = forAllSystems (system:
|
||||||
home-manager = nixpkgsFor.${system}.callPackage ./home-manager { };
|
let docs = import ./docs { pkgs = nixpkgsFor.${system}; };
|
||||||
});
|
in {
|
||||||
|
home-manager = nixpkgsFor.${system}.callPackage ./home-manager { };
|
||||||
|
docs-html = docs.manual.html;
|
||||||
|
docs-manpages = docs.manPages;
|
||||||
|
docs-json = docs.options.json;
|
||||||
|
});
|
||||||
|
|
||||||
defaultPackage =
|
defaultPackage =
|
||||||
forAllSystems (system: self.packages.${system}.home-manager);
|
forAllSystems (system: self.packages.${system}.home-manager);
|
||||||
|
|
Loading…
Reference in a new issue