Agenix secrets overhaul
This commit is contained in:
parent
83796f7cb2
commit
55dcb2fca7
56 changed files with 530 additions and 137 deletions
|
@ -3,7 +3,7 @@
|
|||
services.pixelfed = {
|
||||
enable = true;
|
||||
domain = "pics.${config.domains.jim1}";
|
||||
secretFile = pkgs.writeText "appkey" config.secrets.pixelfedKey;
|
||||
secretFile = config.age.secrets.pixelfedKey.path;
|
||||
settings = {
|
||||
APP_NAME = ''"Jimbo's Pixelfed"'';
|
||||
INSTANCE_DESCRIPTION = ''"The Jimbosfiles Pixelfed Instance"'';
|
||||
|
@ -22,7 +22,7 @@
|
|||
MAIL_HOST = "mx.${config.domains.jim1}";
|
||||
MAIL_PORT = 587;
|
||||
MAIL_USERNAME = "noreply@${config.domains.jim1}";
|
||||
MAIL_PASSWORD = "${config.secrets.noreplyPassword}";
|
||||
MAIL_PASSWORD = "${builtins.readFile config.age.secrets.noreplyMailPass.path}";
|
||||
};
|
||||
nginx = {
|
||||
enableACME = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue