1
0
Fork 0
selfhostblocks/postgresdb/mkdefault.nix
2023-02-19 20:37:52 -08:00

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";
}