From e092c3db601a977ebeb41bc0d02a968662d268b6 Mon Sep 17 00:00:00 2001 From: tristan Date: Sun, 31 Dec 2023 00:48:19 +0000 Subject: [PATCH] expose everything in the flake --- flake.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 0027951..95ba412 100644 --- a/flake.nix +++ b/flake.nix @@ -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;