Require SSL for database connection

This commit is contained in:
niten 2023-07-31 10:58:18 -07:00
parent 7b318d0aaf
commit ebf7d59e30
2 changed files with 2 additions and 1 deletions

View File

@ -231,6 +231,7 @@ in {
user = cfg.database.user;
password = "$__file{${cfg.database.password-file}}";
type = "postgres";
ssl_mode = "require";
};
"ldap.auth" = mkIf (cfg.ldap != null) (let