secrets: move forgejo mail secret to sops
This commit is contained in:
parent
e531756e99
commit
8475e3ecb6
5 changed files with 7 additions and 12 deletions
|
|
@ -42,11 +42,10 @@ in
|
|||
USER = "noreply@git.lelgenio.com";
|
||||
};
|
||||
};
|
||||
mailerPasswordFile = config.age.secrets.phantom-forgejo-mailer-password.path;
|
||||
secrets.mailer.PASSWD = config.sops.secrets."forgejo/smtp_password".path;
|
||||
};
|
||||
|
||||
age.secrets.phantom-forgejo-mailer-password = {
|
||||
file = ../../secrets/phantom-forgejo-mailer-password.age;
|
||||
sops.secrets."forgejo/smtp_password" = {
|
||||
mode = "400";
|
||||
owner = "forgejo";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue