This commit is contained in:
@@ -40,11 +40,18 @@ in {
|
||||
|
||||
# sudo -u git gitea admin auth add-ldap --name gitea --port 3890 --bind-dn 'uid=gitea,ou=people,dc=deertopia,dc=net' --bind-password «password» --user-search-base 'ou=people,dc=deertopia,dc=net' --user-filter '(&(memberof=cn=git,ou=groups,dc=deertopia,dc=net)(|(uid=%[1]s)(mail=%[1]s)))' --username-attribute uid --firstname-attribute givenName --surname-attribute sn --email-attribute mail --avatar-attribute jpegPhoto --security-protocol unencrypted --host 127.0.0.1 --config /var/lib/gitea/custom/conf/app.ini --synchronize-users
|
||||
|
||||
sydnix.sops.secrets.gitea-mailer-password = {
|
||||
mode = "0440";
|
||||
owner = "git";
|
||||
group = "git";
|
||||
};
|
||||
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
user = "git";
|
||||
group = "git";
|
||||
appName = "GupHub"; # Name per my darling Colestar ♥
|
||||
appName = "GupHub"; # Name per my dear Astrid ♥!!!!!
|
||||
mailerPasswordFile = config.sops.secrets.gitea-mailer-password.path;
|
||||
settings = {
|
||||
server = {
|
||||
ROOT_URL = "https://git.deertopia.net/";
|
||||
@@ -53,7 +60,16 @@ in {
|
||||
};
|
||||
service = {
|
||||
DISABLE_REGISTRATION = true;
|
||||
ENABLE_NOTIFY_MAIL = true;
|
||||
};
|
||||
mailer = {
|
||||
ENABLED = true;
|
||||
FROM = "no-reply@deertopia.net";
|
||||
PROTOCOL = "smtps";
|
||||
SMTP_ADDR = "smtp.fastmail.com";
|
||||
SMTP_PORT = 465;
|
||||
USER = "msyds@deertopia.net";aaala
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user