1
0
Fork 0
selfhostblocks/postgresdb/mkdefault.nix

21 lines
276 B
Nix
Raw Normal View History

2022-10-04 09:08:51 +02:00
{ PostgresDB
}:
{ name
, username
, password
, database
, dependsOn ? {}
}:
{
inherit name;
pkg = PostgresDB {
postgresUsername = username;
postgresPassword = password;
postgresDatabase = database;
};
inherit dependsOn;
type = "postgresql-database";
}