1
Fork 0

Add latex to jupyter

This commit is contained in:
prescientmoon 2024-05-22 14:36:01 +02:00
parent ca1606a6a3
commit 206f047177
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -8,18 +8,6 @@ let
jupyter-collaboration
]);
# }}}
# {{{ Client wrapper
deps = [ ];
wrappedAppEnv = pkgs.symlinkJoin {
inherit (appEnv) name meta;
paths = [ appEnv ];
nativeBuildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/* \
--prefix PATH : ${lib.makeBinPath deps}
'';
};
# }}}
in
{
services.jupyterhub = {
@ -65,6 +53,8 @@ in
# }}}
};
environment.systemPackages = [ pkgs.texliveSmall ]; # LaTeX stuff is useful for matplotlib
# {{{ Javi user
sops.secrets.javi_password = {
sopsFile = ../secrets.yaml;