mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Temporarily disable gitlab authentication in hedgedoc
This commit is contained in:
parent
e0eb82bc9f
commit
393be96558
1 changed files with 11 additions and 11 deletions
|
|
@ -28,19 +28,19 @@ in
|
||||||
sops = {
|
sops = {
|
||||||
secrets = {
|
secrets = {
|
||||||
"hedgedoc/seb-password".owner = user;
|
"hedgedoc/seb-password".owner = user;
|
||||||
"hedgedoc/gitlab-auth-secret".owner = user;
|
# "hedgedoc/gitlab-auth-secret".owner = user;
|
||||||
};
|
};
|
||||||
|
|
||||||
templates."hedgedoc/environment" = {
|
# templates."hedgedoc/environment" = {
|
||||||
owner = user;
|
# owner = user;
|
||||||
content = "GITLAB_CLIENTSECRET=${config.sops.placeholder."hedgedoc/gitlab-auth-secret"}";
|
# content = "GITLAB_CLIENTSECRET=${config.sops.placeholder."hedgedoc/gitlab-auth-secret"}";
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
services.hedgedoc = {
|
services.hedgedoc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
environmentFile = config.sops.templates."hedgedoc/environment".path;
|
# environmentFile = config.sops.templates."hedgedoc/environment".path;
|
||||||
settings = {
|
settings = {
|
||||||
domain = cfg.domain;
|
domain = cfg.domain;
|
||||||
inherit (cfg) port;
|
inherit (cfg) port;
|
||||||
|
|
@ -49,11 +49,11 @@ in
|
||||||
allowEmailRegister = false;
|
allowEmailRegister = false;
|
||||||
defaultPermission = "limited";
|
defaultPermission = "limited";
|
||||||
sessionSecret = "$SESSION_SECRET";
|
sessionSecret = "$SESSION_SECRET";
|
||||||
gitlab = {
|
# gitlab = {
|
||||||
baseURL = "https://code.fbi.h-da.de";
|
# baseURL = "https://code.fbi.h-da.de";
|
||||||
clientID = "dc71d7ec1525ce3b425d7d41d602f67e1a06cef981259605a87841a6be62cc58";
|
# clientID = "dc71d7ec1525ce3b425d7d41d602f67e1a06cef981259605a87841a6be62cc58";
|
||||||
clientSecret = "$GITLAB_CLIENTSECRET";
|
# clientSecret = "$GITLAB_CLIENTSECRET";
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue