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;