mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 08:29:17 +08:00
services.gitlab: fix smtp
This commit is contained in:
parent
da4a7e33ff
commit
19729fb334
@ -274,7 +274,7 @@
|
|||||||
[ "nix-store" "xn--qbtm095lrg0bfka60z" ]))
|
[ "nix-store" "xn--qbtm095lrg0bfka60z" ]))
|
||||||
// (builtins.listToAttrs (builtins.map
|
// (builtins.listToAttrs (builtins.map
|
||||||
(site: { name = "${site}.chn.moe"; value.upstream.address = "internal.vps7.chn.moe"; })
|
(site: { name = "${site}.chn.moe"; value.upstream.address = "internal.vps7.chn.moe"; })
|
||||||
[ "xn--s8w913fdga" "misskey" "synapse" "send" "kkmeeting" "api" ]));
|
[ "xn--s8w913fdga" "misskey" "synapse" "send" "kkmeeting" "api" "gitlab" ]));
|
||||||
applications =
|
applications =
|
||||||
{
|
{
|
||||||
element.instances."element.chn.moe" = {};
|
element.instances."element.chn.moe" = {};
|
||||||
|
@ -21,11 +21,13 @@ inputs:
|
|||||||
smtp =
|
smtp =
|
||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
|
address = "mail.chn.moe";
|
||||||
username = "bot@chn.moe";
|
username = "bot@chn.moe";
|
||||||
|
passwordFile = inputs.config.sops.secrets."gitlab/mail".path;
|
||||||
tls = true;
|
tls = true;
|
||||||
|
enableStartTLSAuto = false;
|
||||||
port = 465;
|
port = 465;
|
||||||
domain = gitlab.hostname;
|
domain = gitlab.hostname;
|
||||||
passwordFile = inputs.config.sops.secrets."gitlab/mail".path;
|
|
||||||
authentication = "login";
|
authentication = "login";
|
||||||
};
|
};
|
||||||
secrets =
|
secrets =
|
||||||
@ -36,7 +38,7 @@ inputs:
|
|||||||
dbFile = inputs.config.sops.secrets."gitlab/dbFile".path;
|
dbFile = inputs.config.sops.secrets."gitlab/dbFile".path;
|
||||||
};
|
};
|
||||||
initialRootPasswordFile = inputs.config.sops.secrets."gitlab/root".path;
|
initialRootPasswordFile = inputs.config.sops.secrets."gitlab/root".path;
|
||||||
initialRootEmail = "chn@chn.moe";
|
initialRootEmail = "bot@chn.moe";
|
||||||
databasePasswordFile = inputs.config.sops.secrets."gitlab/db".path;
|
databasePasswordFile = inputs.config.sops.secrets."gitlab/db".path;
|
||||||
databaseHost = "127.0.0.1";
|
databaseHost = "127.0.0.1";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user