
This adds documentation related packages to default.nix to allow building documentation separately from building a Home Manager configuration.
18 lines
375 B
Nix
18 lines
375 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
rec {
|
|
docs = with import ./doc { inherit pkgs; }; {
|
|
html = manual.html;
|
|
manPages = manPages;
|
|
json = options.json;
|
|
};
|
|
|
|
home-manager = pkgs.callPackage ./home-manager { path = toString ./.; };
|
|
|
|
install =
|
|
pkgs.callPackage ./home-manager/install.nix { inherit home-manager; };
|
|
|
|
nixos = import ./nixos;
|
|
|
|
path = ./.;
|
|
}
|