1
Fork 0

Readd systemd spawner package to jupyterhub env

This commit is contained in:
prescientmoon 2024-05-21 02:20:51 +02:00
parent cc6595262c
commit 6ec9d07aaf
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -2,6 +2,7 @@
let appEnv = pkgs.python3.withPackages (p: with p; [
jupyterhub
jupyterlab
jupyterhub-systemdspawner
jupyter-collaboration
]);
in
@ -22,6 +23,8 @@ in
c.Authenticator.allowed_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.cpu_limit = 2.0
'';