MyNixOS website logo
option

services.postgresql.ensureDatabases

Ensures that the specified databases exist. This option will never delete existing databases, especially not when the value of this option is changed. This means that databases created once through this option or otherwise have to be removed manually.

Declarations
    Type
    list of string
    Default
    [ ]
    Example
    [
      "gitea"
      "nextcloud"
    ]