From 7c6143ae9e808b24c5eedfd0c612f65c13bf61b4 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Tue, 21 May 2024 02:42:49 +0200 Subject: [PATCH] Mark Javi as normal user --- hosts/nixos/lapetus/services/jupyter.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/nixos/lapetus/services/jupyter.nix b/hosts/nixos/lapetus/services/jupyter.nix index be8bacc..d07a426 100644 --- a/hosts/nixos/lapetus/services/jupyter.nix +++ b/hosts/nixos/lapetus/services/jupyter.nix @@ -18,6 +18,7 @@ in jupyterlabEnv = appEnv; extraConfig = '' + c.LocalAuthenticator.create_system_users = False c.Authenticator.allowed_users = {'adrielus', 'javi'} c.Authenticator.admin_users = {'adrielus', 'javi'} @@ -56,7 +57,10 @@ in neededForUsers = true; }; - users.users.javi.hashedPasswordFile = config.sops.secrets.javi_password.path; + users.users.javi = { + isNormalUser = true; + hashedPasswordFile = config.sops.secrets.javi_password.path; + }; # }}} # {{{ Networking services.nginx.virtualHosts."jupyter.moonythm.dev" =