html.nix/examples/site.nix

13 lines
195 B
Nix
Raw Normal View History

2022-07-30 12:42:09 +03:00
{
pkgs,
lib,
}: let
2021-05-16 02:56:54 +03:00
inherit (pkgs) htmlNix;
src = ./site;
in
2022-07-30 12:42:09 +03:00
htmlNix.mkServeFromSite (htmlNix.mkSiteFrom {
inherit src;
templater = lib.templaters.basic;
local = true;
})