summaryrefslogtreecommitdiff
path: root/hosts/surtr
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-24 21:21:47 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-24 21:21:47 +0100
commit221ba145c49288965c1a1fe7141cfe2e696080cb (patch)
tree7646b4d3a4cb10ea3dd0253059621641f86fec2b /hosts/surtr
parent91288f49876796cd753c25782ffb3ab41ae07bd1 (diff)
downloadnixos-221ba145c49288965c1a1fe7141cfe2e696080cb.tar
nixos-221ba145c49288965c1a1fe7141cfe2e696080cb.tar.gz
nixos-221ba145c49288965c1a1fe7141cfe2e696080cb.tar.bz2
nixos-221ba145c49288965c1a1fe7141cfe2e696080cb.tar.xz
nixos-221ba145c49288965c1a1fe7141cfe2e696080cb.zip
...
Diffstat (limited to 'hosts/surtr')
-rw-r--r--hosts/surtr/postgresql.nix2
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";