summaryrefslogtreecommitdiff
path: root/hosts/surtr/postgresql.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-25 14:29:49 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-25 14:29:49 +0100
commit2c288d5ea310736a9b6088c7f04e42517b5b12a3 (patch)
tree5b47bf85d88e2648505abf35418a9e1551827bd2 /hosts/surtr/postgresql.nix
parentbe35f03e74f87ab87535903650b4e8176f4a2704 (diff)
downloadnixos-2c288d5ea310736a9b6088c7f04e42517b5b12a3.tar
nixos-2c288d5ea310736a9b6088c7f04e42517b5b12a3.tar.gz
nixos-2c288d5ea310736a9b6088c7f04e42517b5b12a3.tar.bz2
nixos-2c288d5ea310736a9b6088c7f04e42517b5b12a3.tar.xz
nixos-2c288d5ea310736a9b6088c7f04e42517b5b12a3.zip
surtr: ma1sd: remove
Diffstat (limited to 'hosts/surtr/postgresql.nix')
-rw-r--r--hosts/surtr/postgresql.nix5
1 files changed, 0 insertions, 5 deletions
diff --git a/hosts/surtr/postgresql.nix b/hosts/surtr/postgresql.nix
index e622f4e9..a34bc675 100644
--- a/hosts/surtr/postgresql.nix
+++ b/hosts/surtr/postgresql.nix
@@ -9,11 +9,6 @@
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";
11 GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "matrix-synapse"; 11 GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "matrix-synapse";
12
13 CREATE DATABASE "mxisd" WITH TEMPLATE "template0" ENCODING "UTF8" LOCALE "C";
14 CREATE USER "mxisd";
15 GRANT ALL PRIVILEGES ON DATABASE "mxisd" TO "mxisd";
16 GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "mxisd";
17 ''; 12 '';
18 }; 13 };
19 }; 14 };