~ajhalili2006's personal website, built with Zensical (successor of Material for Mkdocs) [old repo name got bugged while attempting to do manual knot migration via repo deletion]
andreijiroh.dev
zensical
mkdocs-material
website
1{ pkgs, lib, ... }: {
2
3 packages = with pkgs; [
4 gitFull
5 pipenv
6
7 # doppler
8 doppler
9
10 # required for social cards in mkdocs-material / CairoSVG
11 cairo
12 pango
13 gdk-pixbuf
14 librsvg
15 fontconfig
16 freetype
17 libffi
18 libjpeg
19 zlib
20 pngquant
21 ];
22
23 # Ensure dynamic linker can find shared libs for Python ctypes consumers like CairoSVG
24 env.LD_LIBRARY_PATH = lib.makeLibraryPath [
25 pkgs.cairo
26 pkgs.pango
27 pkgs.gdk-pixbuf
28 pkgs.librsvg
29 pkgs.fontconfig
30 pkgs.freetype
31 pkgs.zlib
32 ];
33
34 # Optional, but silences CI warning and ensures predictable locale
35 env.LANG = "en_US.UTF-8";
36
37 languages = {
38 javascript = {
39 enable = true;
40 package = pkgs.nodejs_22;
41 };
42 python = {
43 enable = true;
44 version = "3.13.3";
45 };
46 };
47
48 enterShell = ''
49 pipenv install
50 npm install
51 '';
52
53 tasks = {
54 "site:build".exec = "pipenv run build";
55 "site:deploy".exec = "npm run deploy";
56 };
57}