Add latex to jupyter
This commit is contained in:
parent
ca1606a6a3
commit
206f047177
|
@ -8,18 +8,6 @@ let
|
||||||
jupyter-collaboration
|
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
|
in
|
||||||
{
|
{
|
||||||
services.jupyterhub = {
|
services.jupyterhub = {
|
||||||
|
@ -65,6 +53,8 @@ in
|
||||||
# }}}
|
# }}}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = [ pkgs.texliveSmall ]; # LaTeX stuff is useful for matplotlib
|
||||||
|
|
||||||
# {{{ Javi user
|
# {{{ Javi user
|
||||||
sops.secrets.javi_password = {
|
sops.secrets.javi_password = {
|
||||||
sopsFile = ../secrets.yaml;
|
sopsFile = ../secrets.yaml;
|
||||||
|
|
Loading…
Reference in a new issue