~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 name = "site";
4
5 packages = with pkgs; [
6 gitFull
7 pipenv
8
9 # doppler
10 doppler
11
12 # required for social cards in mkdocs-material / CairoSVG
13 cairo
14 pango
15 gdk-pixbuf
16 librsvg
17 fontconfig
18 freetype
19 libffi
20 libjpeg
21 zlib
22 pngquant
23 ];
24
25 # Ensure dynamic linker can find shared libs for Python ctypes consumers like CairoSVG
26 env.LD_LIBRARY_PATH = lib.makeLibraryPath [
27 pkgs.cairo
28 pkgs.pango
29 pkgs.gdk-pixbuf
30 pkgs.librsvg
31 pkgs.fontconfig
32 pkgs.freetype
33 pkgs.zlib
34 ];
35
36 # Optional, but silences CI warning and ensures predictable locale
37 env.LANG = "en_US.UTF-8";
38
39 languages = {
40 javascript = {
41 enable = true;
42 package = pkgs.nodejs_22;
43 };
44 python = {
45 enable = true;
46 version = "3.14.0";
47 };
48 };
49
50 #enterShell = ''
51 # pipenv install
52 # npm install
53 #'';
54
55 tasks = {
56 "site:build".exec = "pipenv run build";
57 "site:deploy".exec = "npm run deploy";
58 };
59}