expose everything in the flake

This commit is contained in:
tristan 2023-12-31 00:48:19 +00:00
parent cd87745a78
commit e092c3db60

View file

@ -11,8 +11,15 @@
};
nixite = import ./nixite/. {inherit pkgs;};
in {
serve = nixite.serve;
mkSite = nixite.mkSite;
html = nixite.html;
elems = nixite.elems;
site = nixite.site;
md = nixite.md;
packages.${system} = {
default = with nixite;
default = with self;
mkSite (site.applyStyle ./testing/src/style.css {
"index.html" = with elems; (doc
[
@ -41,7 +48,7 @@
};
});
serve = nixite.serve self.packages.${system}.default;
serve = self.serve self.packages.${system}.default;
test = let
test = import ./testing/import.nix;