Install jupyterlab-collaboration
This commit is contained in:
parent
fd762b7bfd
commit
cc6595262c
|
@ -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" =
|
services.nginx.virtualHosts."jupyter.moonythm.dev" =
|
||||||
config.satellite.proxy
|
config.satellite.proxy
|
||||||
config.services.jupyterhub.port
|
config.services.jupyterhub.port
|
||||||
|
@ -8,8 +15,11 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 8420;
|
port = 8420;
|
||||||
|
|
||||||
# c.Authenticator.allowed_users = {'prescientmoon'}
|
jupyterhubEnv = appEnv;
|
||||||
|
jupyterlabEnv = appEnv;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
c.Authenticator.allowed_users = {'adrielus', 'prescientmoon'}
|
||||||
c.Authenticator.admin_users = {'adrielus', 'prescientmoon'}
|
c.Authenticator.admin_users = {'adrielus', 'prescientmoon'}
|
||||||
|
|
||||||
c.SystemdSpawner.mem_limit = '2G'
|
c.SystemdSpawner.mem_limit = '2G'
|
||||||
|
|
Loading…
Reference in a new issue