20 lines
276 B
Nix
20 lines
276 B
Nix
{ PostgresDB
|
|
}:
|
|
{ name
|
|
, username
|
|
, password
|
|
, database
|
|
, dependsOn ? {}
|
|
}:
|
|
|
|
{
|
|
inherit name;
|
|
pkg = PostgresDB {
|
|
postgresUsername = username;
|
|
postgresPassword = password;
|
|
postgresDatabase = database;
|
|
};
|
|
|
|
inherit dependsOn;
|
|
type = "postgresql-database";
|
|
}
|