diff --git a/services/jupyter/default.nix b/services/jupyter/default.nix index 16393fde..a0190843 100644 --- a/services/jupyter/default.nix +++ b/services/jupyter/default.nix @@ -1,4 +1,6 @@ {...}: { + users.users.jupyter.group = "jupyter"; + users.groups.jupyter = {}; services.jupyter = { enable = true; notebookConfig = '' diff --git a/services/jupyter/lab.nix b/services/jupyter/lab.nix index 2fd5e719..25ddf06d 100644 --- a/services/jupyter/lab.nix +++ b/services/jupyter/lab.nix @@ -1,4 +1,7 @@ -{...}: { +{pkgs, ...}: { imports = [./default.nix]; - services.jupyter.command = "jupyter-lab"; + services.jupyter = { + command = "jupyter-lab"; + package = pkgs.python3Packages.jupyterlab; + }; }