summary refs log tree commit diff
diff options
context:
space:
mode:
authorAugustin Borsu <a.borsu@acelpb.com>2020-08-17 22:42:37 +0200
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2020-08-25 13:50:18 +0200
commit19a7012769093df2858a2fe4abe230ea447eaf54 (patch)
treefd7b1b90d97191dc54c88db4ed400b30f9598dba
parentff7b4841110be46991576c78bba591dcc3cc92d2 (diff)
downloadnixpkgs-19a7012769093df2858a2fe4abe230ea447eaf54.tar
nixpkgs-19a7012769093df2858a2fe4abe230ea447eaf54.tar.gz
nixpkgs-19a7012769093df2858a2fe4abe230ea447eaf54.tar.bz2
nixpkgs-19a7012769093df2858a2fe4abe230ea447eaf54.tar.lz
nixpkgs-19a7012769093df2858a2fe4abe230ea447eaf54.tar.xz
nixpkgs-19a7012769093df2858a2fe4abe230ea447eaf54.tar.zst
nixpkgs-19a7012769093df2858a2fe4abe230ea447eaf54.zip
jupyterhub: fix authenticator configuration
authentication_class  is invalid, it should be authenticator_class cfr [project doc|https://tljh.jupyter.org/en/latest/topic/authenticator-configuration.html]
-rw-r--r--nixos/modules/services/development/jupyterhub/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/development/jupyterhub/default.nix b/nixos/modules/services/development/jupyterhub/default.nix
index be6aaed93ac..f1dcab68b00 100644
--- a/nixos/modules/services/development/jupyterhub/default.nix
+++ b/nixos/modules/services/development/jupyterhub/default.nix
@@ -15,7 +15,7 @@ let
   jupyterhubConfig = pkgs.writeText "jupyterhub_config.py" ''
     c.JupyterHub.bind_url = "http://${cfg.host}:${toString cfg.port}"
 
-    c.JupyterHub.authentication_class = "${cfg.authentication}"
+    c.JupyterHub.authenticator_class = "${cfg.authentication}"
     c.JupyterHub.spawner_class = "${cfg.spawner}"
 
     c.SystemdSpawner.default_url = '/lab'