From fb5ebf1be071cc6676809b1bec25d1e6ba7f1eef Mon Sep 17 00:00:00 2001 From: David Crompton Date: Tue, 23 Jan 2024 14:05:22 -0500 Subject: [PATCH] Add JupyterHub Extension (e.g. Collaboration) --- machines/kcnhub/servers/jupyterhub.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/machines/kcnhub/servers/jupyterhub.nix b/machines/kcnhub/servers/jupyterhub.nix index 544bb37..542eccf 100644 --- a/machines/kcnhub/servers/jupyterhub.nix +++ b/machines/kcnhub/servers/jupyterhub.nix @@ -17,6 +17,17 @@ # Extra Paths used to add gcc et al for packages like Brian2 # https://github.com/jupyterhub/systemdspawner#extra_paths + jupyterlabEnv = pkgs.python3.withPackages (p: with p; [ + jupyterhub + jupyterlab + # Extensions: + jupyter-collaboration + jupyter-server-mathjax + jupyter-console + jupyterlab-lsp + python-lsp-server + ]); + kernels = { python3 = let env = (pkgs.python3.withPackages (pythonPackages: with pythonPackages; [