phantom: migrate secrets to sops

This commit is contained in:
Leonardo Eugênio 2026-02-15 03:47:47 -03:00
parent 5f57fb269a
commit 3be05b100b
11 changed files with 24 additions and 102 deletions

View file

@ -14,15 +14,14 @@
host = "lelgenio.com";
fromAddress = "noreply@social.lelgenio.com";
user = "noreply@social.lelgenio.com";
passwordFile = config.age.secrets.phantom-mastodon-mailer-password.path;
passwordFile = config.sops.secrets."mastodon/smtp-password".path;
};
streamingProcesses = 2;
extraConfig.SINGLE_USER_MODE = "true";
mediaAutoRemove.olderThanDays = 5;
};
age.secrets.phantom-mastodon-mailer-password = {
file = ../../secrets/phantom-mastodon-mailer-password.age;
sops.secrets."mastodon/smtp-password" = {
mode = "400";
owner = "mastodon";
};