diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-25 14:07:11 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-25 14:07:11 +0100 |
commit | 28df3554c05b31386e1e0ab33c3ed8db56990eea (patch) | |
tree | 24acd49a89d03b221baf5ac17b90d36fe6ac6a98 /hosts/surtr/postgresql.nix | |
parent | d32915c061ec628d87ec615b583cd136685284d4 (diff) | |
download | nixos-28df3554c05b31386e1e0ab33c3ed8db56990eea.tar nixos-28df3554c05b31386e1e0ab33c3ed8db56990eea.tar.gz nixos-28df3554c05b31386e1e0ab33c3ed8db56990eea.tar.bz2 nixos-28df3554c05b31386e1e0ab33c3ed8db56990eea.tar.xz nixos-28df3554c05b31386e1e0ab33c3ed8db56990eea.zip |
surtr: ma1sd: ...
Diffstat (limited to 'hosts/surtr/postgresql.nix')
-rw-r--r-- | hosts/surtr/postgresql.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hosts/surtr/postgresql.nix b/hosts/surtr/postgresql.nix index 88430823..e622f4e9 100644 --- a/hosts/surtr/postgresql.nix +++ b/hosts/surtr/postgresql.nix | |||
@@ -10,10 +10,10 @@ | |||
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 | 12 | ||
13 | CREATE DATABASE "ma1sd" WITH TEMPLATE "template0" ENCODING "UTF8" LOCALE "C"; | 13 | CREATE DATABASE "mxisd" WITH TEMPLATE "template0" ENCODING "UTF8" LOCALE "C"; |
14 | CREATE USER "ma1sd"; | 14 | CREATE USER "mxisd"; |
15 | GRANT ALL PRIVILEGES ON DATABASE "ma1sd" TO "ma1sd"; | 15 | GRANT ALL PRIVILEGES ON DATABASE "mxisd" TO "mxisd"; |
16 | GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "ma1sd"; | 16 | GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "mxisd"; |
17 | ''; | 17 | ''; |
18 | }; | 18 | }; |
19 | }; | 19 | }; |