codimd: fix rename to hedgedoc

This commit is contained in:
hexchen 2021-01-02 08:49:25 +00:00
parent 9b0cfd2ac1
commit 6ea68e9fea

View file

@ -16,7 +16,7 @@
} }
''; '';
}; };
services.codimd = { services.hedgedoc = {
enable = true; enable = true;
configuration = { configuration = {
allowAnonymous = true; 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_URL" = "https://auth.infra4future.de/auth/realms/forfuture/protocol/openid-connect/userinfo";
"CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR" = "name"; "CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR" = "name";
"CMD_OAUTH2_USER_PROFILE_DISPLAY_NAME_ATTR" = "display-name"; "CMD_OAUTH2_USER_PROFILE_DISPLAY_NAME_ATTR" = "display-name";