diff --git a/hosts/nixos/lapetus/services/jupyter.nix b/hosts/nixos/lapetus/services/jupyter.nix index 9b184f0..9b5ee54 100644 --- a/hosts/nixos/lapetus/services/jupyter.nix +++ b/hosts/nixos/lapetus/services/jupyter.nix @@ -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 '';