html.nix/examples/site.nix

11 lines
180 B
Nix
Raw Normal View History

2021-05-16 02:56:54 +03:00
{ pkgs, lib }:
let
inherit (pkgs) htmlNix;
src = ./site;
in
htmlNix.mkServeFromSite (htmlNix.mkSiteFrom {
inherit src;
2021-05-16 22:47:53 +03:00
templater = lib.templaters.basic;
2021-05-17 00:08:42 +03:00
local = true;
2021-05-16 02:56:54 +03:00
})