fixed missing option

This commit is contained in:
Harry 2024-08-12 16:06:40 +02:00
parent 1b6a88bc93
commit ba3dfa1528

View file

@ -1,7 +1,7 @@
{ config, ... }:
{
sops.secrets.smtp_address = {};
sops.secrets.smtp_password = {};
sops.secrets.smtp_address = { };
sops.secrets.smtp_password = { };
services.forgejo = {
enable = true;
@ -10,22 +10,21 @@
database = {
type = "postgres";
};
server = {
DOMAIN = "git.hypervirtual.world";
ROOT_URL = "https://hypervirtual.world";
HTTP_PORT = 3000;
};
actions = {
ENABLED = true;
DEFAULT_ACTIONS_URL = "github";
};
mailer = {
settings = {
server = {
DOMAIN = "git.hypervirtual.world";
ROOT_URL = "https://hypervirtual.world";
HTTP_PORT = 3000;
};
actions = {
ENABLED = true;
DEFAULT_ACTIONS_URL = "github";
};
mailer = {
ENABLED = true;
SMTP_ADDR = config.sops.secrets.smtp_address;
};
};
mailerPasswordFile = config.sops.secrets.smtp_password.path;
};
}