Link: https://github.com/nix-community/stylix/pull/1289 Reviewed-by: Daniel Thwaites <danth@danth.me> Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk> Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
19 lines
480 B
Nix
19 lines
480 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 { };
|
|
};
|
|
};
|
|
}
|