Add jupyter user and group, set correct package for using jupyterlab
This commit is contained in:
parent
0cbcf57a0a
commit
9d35ebd33f
|
@ -1,4 +1,6 @@
|
|||
{...}: {
|
||||
users.users.jupyter.group = "jupyter";
|
||||
users.groups.jupyter = {};
|
||||
services.jupyter = {
|
||||
enable = true;
|
||||
notebookConfig = ''
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
{...}: {
|
||||
{pkgs, ...}: {
|
||||
imports = [./default.nix];
|
||||
services.jupyter.command = "jupyter-lab";
|
||||
services.jupyter = {
|
||||
command = "jupyter-lab";
|
||||
package = pkgs.python3Packages.jupyterlab;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue