1
Fork 0

Mark Javi as normal user

This commit is contained in:
prescientmoon 2024-05-21 02:42:49 +02:00
parent 1493fbb54c
commit 7c6143ae9e
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -18,6 +18,7 @@ in
jupyterlabEnv = appEnv; jupyterlabEnv = appEnv;
extraConfig = '' extraConfig = ''
c.LocalAuthenticator.create_system_users = False
c.Authenticator.allowed_users = {'adrielus', 'javi'} c.Authenticator.allowed_users = {'adrielus', 'javi'}
c.Authenticator.admin_users = {'adrielus', 'javi'} c.Authenticator.admin_users = {'adrielus', 'javi'}
@ -56,7 +57,10 @@ in
neededForUsers = true; 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 # {{{ Networking
services.nginx.virtualHosts."jupyter.moonythm.dev" = services.nginx.virtualHosts."jupyter.moonythm.dev" =