My personal website, a MirageOS unikernel, written in OCaml and built with nix. Also contains a parser for org-mode, used to render my (currently pretty much empty) blog to HTML.
Currently work in progress, but already available at lgcl.de.
Building outside the nix flake's devShell
might not work, as a few
depenndencies get patched/use unreleased versions, provided through the flake.
To setup the duniverse from nix use the mkDuniverse
script provided in the
flake's devShell
, instead of make
. This gets the right duniverse (for the
unix
target).
Clean and reconfigure unikernel:
dune clean; mirage clean -f mirage/config.ml; mirage configure -f mirage/config.ml -t unix
Update duniverse:
rm -rf mirage/duniverse; mkDuniverse
Run the server, with auto-reload:
dune build @run --watch
My code for this website is AGLP3 licensed.
The content - once there is any - will have its own license.
The TextMate grammars in lib/org/tm_grammars
are taken from different places
and may have different licenses. Where they are from, under which license they
are, etc. is listed in lib/org/tm_grammars.txt