Readd systemd spawner package to jupyterhub env
This commit is contained in:
parent
cc6595262c
commit
6ec9d07aaf
|
@ -2,6 +2,7 @@
|
||||||
let appEnv = pkgs.python3.withPackages (p: with p; [
|
let appEnv = pkgs.python3.withPackages (p: with p; [
|
||||||
jupyterhub
|
jupyterhub
|
||||||
jupyterlab
|
jupyterlab
|
||||||
|
jupyterhub-systemdspawner
|
||||||
jupyter-collaboration
|
jupyter-collaboration
|
||||||
]);
|
]);
|
||||||
in
|
in
|
||||||
|
@ -22,6 +23,8 @@ in
|
||||||
c.Authenticator.allowed_users = {'adrielus', 'prescientmoon'}
|
c.Authenticator.allowed_users = {'adrielus', 'prescientmoon'}
|
||||||
c.Authenticator.admin_users = {'adrielus', 'prescientmoon'}
|
c.Authenticator.admin_users = {'adrielus', 'prescientmoon'}
|
||||||
|
|
||||||
|
c.Spawner.notebook_dir=${config.users.users.pilot.home}/projects/notebooks
|
||||||
|
|
||||||
c.SystemdSpawner.mem_limit = '2G'
|
c.SystemdSpawner.mem_limit = '2G'
|
||||||
c.SystemdSpawner.cpu_limit = 2.0
|
c.SystemdSpawner.cpu_limit = 2.0
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue