codimd: fix rename to hedgedoc

keep-around/d761086909ef72009afb3e7ee005554e1a104fe6
hexchen 2021-01-02 08:49:25 +00:00
parent 9b0cfd2ac1
commit 6ea68e9fea
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
}
'';
};
services.codimd = {
services.hedgedoc = {
enable = true;
configuration = {
allowAnonymous = true;
@ -38,7 +38,7 @@
};
};
};
systemd.services.codimd.environment = {
systemd.services.hedgedoc.environment = {
"CMD_OAUTH2_USER_PROFILE_URL" = "https://auth.infra4future.de/auth/realms/forfuture/protocol/openid-connect/userinfo";
"CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR" = "name";
"CMD_OAUTH2_USER_PROFILE_DISPLAY_NAME_ATTR" = "display-name";