mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
feat: misc, matrix fix
This commit is contained in:
parent
28ee21b60b
commit
83317bfa8d
17 changed files with 449 additions and 171 deletions
13
nixos/servers/matrix/postgres.nix
Normal file
13
nixos/servers/matrix/postgres.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
_: {
|
||||
services.postgresql = {
|
||||
ensureUsers = [
|
||||
{
|
||||
name = "matrix-synapse";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
];
|
||||
ensureDatabases = [
|
||||
"matrix-synapse"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue