mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
feat: adds database for iceshrimp
This commit is contained in:
parent
4a1ce0d538
commit
ea868297bf
1 changed files with 11 additions and 6 deletions
|
|
@ -2,12 +2,17 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
# redis.servers.iceshrimp = {
|
postgresql = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# port = 6380;
|
initialScript = pkgs.writeText "synapse-init.sql" ''
|
||||||
# bind = "0.0.0.0";
|
CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD 'synapse';
|
||||||
# settings.protected-mode = "no";
|
CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse"
|
||||||
# };
|
TEMPLATE template0
|
||||||
|
LC_COLLATE = "C"
|
||||||
|
LC_CTYPE = "C";
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
iceshrimp = {
|
iceshrimp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue