Compare commits
2 commits
7ea10f7823
...
d37c767a2f
| Author | SHA1 | Date | |
|---|---|---|---|
| d37c767a2f | |||
| 10a7111f1c |
2 changed files with 7 additions and 7 deletions
|
|
@ -83,7 +83,11 @@ in
|
|||
# I configure my backup system manually below.
|
||||
dump.enable = false;
|
||||
|
||||
mailerPasswordFile = lib.mkIf cfg.mail.enable cfg.mail.passwordFile;
|
||||
secrets = {
|
||||
mailer = lib.mkIf cfg.mail.enable {
|
||||
PASSWD = cfg.mail.passwordFile;
|
||||
};
|
||||
};
|
||||
|
||||
settings = {
|
||||
DEFAULT = {
|
||||
|
|
|
|||
|
|
@ -35,12 +35,8 @@ in
|
|||
|
||||
# Use PostgreSQL
|
||||
DB_ENGINE = "postgres";
|
||||
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";
|
||||
# Make it work with socket auth
|
||||
POSTGRES_URL_OVERRIDE = "postgresql://mealie:@/mealie?host=/run/postgresql";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue