diff options
-rw-r--r-- | hosts/surtr/postgresql.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/surtr/postgresql.nix b/hosts/surtr/postgresql.nix index f0cb155b..f4a122aa 100644 --- a/hosts/surtr/postgresql.nix +++ b/hosts/surtr/postgresql.nix | |||
@@ -4,7 +4,7 @@ | |||
4 | services.postgresql = { | 4 | services.postgresql = { |
5 | enable = true; | 5 | enable = true; |
6 | package = pkgs.postgresql_14; | 6 | package = pkgs.postgresql_14; |
7 | initalScript = pkgs.writeText "schema.sql" '' | 7 | initialScript = pkgs.writeText "schema.sql" '' |
8 | CREATE DATABASE "matrix-synapse" WITH ENCODING "UTF8" LOCALE "C"; | 8 | CREATE DATABASE "matrix-synapse" WITH ENCODING "UTF8" LOCALE "C"; |
9 | CREATE USER "matrix-synapse"; | 9 | CREATE USER "matrix-synapse"; |
10 | GRANT ALL PRIVILEGES ON DATABASE "matrix-synapse" TO "matrix-synapse"; | 10 | GRANT ALL PRIVILEGES ON DATABASE "matrix-synapse" TO "matrix-synapse"; |