1
Fork 0

Install jupyterlab-collaboration

This commit is contained in:
prescientmoon 2024-05-21 02:12:55 +02:00
parent fd762b7bfd
commit cc6595262c
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -1,4 +1,11 @@
{ config, pkgs, ... }: {
{ config, pkgs, ... }:
let appEnv = pkgs.python3.withPackages (p: with p; [
jupyterhub
jupyterlab
jupyter-collaboration
]);
in
{
services.nginx.virtualHosts."jupyter.moonythm.dev" =
config.satellite.proxy
config.services.jupyterhub.port
@ -8,8 +15,11 @@
enable = true;
port = 8420;
# c.Authenticator.allowed_users = {'prescientmoon'}
jupyterhubEnv = appEnv;
jupyterlabEnv = appEnv;
extraConfig = ''
c.Authenticator.allowed_users = {'adrielus', 'prescientmoon'}
c.Authenticator.admin_users = {'adrielus', 'prescientmoon'}
c.SystemdSpawner.mem_limit = '2G'