From d8b9cf1f61cc07d625f1c37ccc28adfd58918416 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sat, 6 Sep 2025 12:06:00 -0600 Subject: sys/web/sites/portal: enable static site at sysret.org --- pkgs/zola-static/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkgs/zola-static/default.nix (limited to 'pkgs/zola-static/default.nix') diff --git a/pkgs/zola-static/default.nix b/pkgs/zola-static/default.nix new file mode 100644 index 0000000..a975ae3 --- /dev/null +++ b/pkgs/zola-static/default.nix @@ -0,0 +1,18 @@ +{ + stdenv, + zola, + site, + src, +}: +stdenv.mkDerivation { + pname = "${site}-static"; + version = "0.0.1"; #TODO + + inherit src; + + nativeBuildInputs = [ zola ]; + + buildPhase = '' + zola build --output-dir $out + ''; +} -- cgit v1.2.3