Link: https://github.com/nix-community/stylix/pull/2041 Link: https://github.com/nix-community/stylix/pull/1976#discussion_r2539186937 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
17 lines
462 B
Nix
17 lines
462 B
Nix
{ inputs, ... }:
|
|
{
|
|
perSystem =
|
|
{ pkgs, config, ... }:
|
|
{
|
|
# Make 'nix run .#doc' serve the documentation site
|
|
apps.doc.program = config.packages.serve-docs;
|
|
|
|
packages = {
|
|
doc = pkgs.callPackage ../doc { inherit (inputs) self; };
|
|
serve-docs = pkgs.callPackage ../doc/server.nix {
|
|
inherit (config.packages) doc;
|
|
};
|
|
palette-generator = pkgs.callPackage ../palette-generator { };
|
|
};
|
|
};
|
|
}
|