Compare commits

..

No commits in common. "d37c767a2f0999fbe10e7c2b6a969c1bf39137f3" and "7ea10f7823c3e8d5a66fb7bec6df4c2fd2c8055c" have entirely different histories.

2 changed files with 7 additions and 7 deletions

View file

@ -83,11 +83,7 @@ in
# I configure my backup system manually below.
dump.enable = false;
secrets = {
mailer = lib.mkIf cfg.mail.enable {
PASSWD = cfg.mail.passwordFile;
};
};
mailerPasswordFile = lib.mkIf cfg.mail.enable cfg.mail.passwordFile;
settings = {
DEFAULT = {

View file

@ -35,8 +35,12 @@ in
# Use PostgreSQL
DB_ENGINE = "postgres";
# Make it work with socket auth
POSTGRES_URL_OVERRIDE = "postgresql://mealie:@/mealie?host=/run/postgresql";
POSTGRES_USER = "mealie";
POSTGRES_PASSWORD = "";
POSTGRES_SERVER = "/run/postgresql";
# Pydantic and/or mealie doesn't handle the URI correctly, hijack it
# with query parameters...
POSTGRES_DB = "mealie?host=/run/postgresql&dbname=mealie";
};
};