From f92ebbee161302302d1318ff3c391eacd730d3a9 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Wed, 13 Sep 2023 04:16:22 +0200 Subject: [PATCH] bicep/synapse: use postgres unix socket --- hosts/bicep/services/matrix/synapse.nix | 1 + secrets/bicep/matrix.yaml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hosts/bicep/services/matrix/synapse.nix b/hosts/bicep/services/matrix/synapse.nix index 41ad76d..32a48ea 100644 --- a/hosts/bicep/services/matrix/synapse.nix +++ b/hosts/bicep/services/matrix/synapse.nix @@ -13,6 +13,7 @@ in { key = "synapse/dbconfig"; owner = config.users.users.matrix-synapse.name; group = config.users.users.matrix-synapse.group; + restartUnits = [ "matrix-synapse.target" ]; }; sops.secrets."matrix/synapse/signing_key" = { diff --git a/secrets/bicep/matrix.yaml b/secrets/bicep/matrix.yaml index 489ef50..d799141 100644 --- a/secrets/bicep/matrix.yaml +++ b/secrets/bicep/matrix.yaml @@ -1,5 +1,5 @@ synapse: - dbconfig: ENC[AES256_GCM,data:QQefrFxpxTXlldA+a5xPm1Mx2E7oRzo4DAOGVYP8IR0zFCsqoAGqeXOPrdT9MczTn4Ur537e9RG2OQMRc8JQASRQLHG6RdNPyREiZmJDs24OyXEF+WerHJtRytF9wugt22AdZtGyk9S/RDqoXDe4CS93EtP7SqAcYWJoDE1Xic7G3g==,iv:q1Is8O5k8PZGmJC3EsftmJMNordGLxJiMg+GsnfzxTY=,tag:sbsj9T0jEr+kZJjej5S0jA==,type:str] + dbconfig: ENC[AES256_GCM,data:I8yu5vYkOhcqr/q20m//0CJJbjuAdzZ8k/BFq0+fozKxX17tx9ncrouzKhHOhxH+WnqyV7yfXdhHkfgNgGvPF9HlPfHeGy7ID75ayM4ChccBxvkqumJpuELGvTXU/MOBb13QKCA8dvoe8tijVp0=,iv:ps/O3mJ1ChGoK4VxlnhmjkIf6v2FFYxDADg37dkY0w8=,tag:S1s81HCKsooVzgX3svbqvw==,type:str] turnconfig: ENC[AES256_GCM,data:mASRjYa4C9WRow4x0XYRrlCE5LMJUYaId+o62r1qhsyJPa2LzrI=,iv:5vYdubvMDjLS6soiWx2DzkEAATb9NFbSS/Jhuuz1yI8=,tag:wOW07CQMDbOiZNervee/pg==,type:str] user_registration: ENC[AES256_GCM,data:ZDZfEEvyw8pg0WzhrdC8747ed+ZR2ZA8/WypJd/iDkmIy2RmxOeI0sE=,iv:l61mOlvzpCql4fC/eubBSU6px21et2WcpxQ6rFl14iw=,tag:sVDEAa3xipKIi/6isCjWew==,type:str] signing_key: ENC[AES256_GCM,data:6UpfiRlX9pRM7zhdm7Mc8y8EItLzugWkHSgE0tGpEmudCTa1wc60oNbYfhKDWU81DT/U148pZOoX1A==,iv:UlqCPicPm5eNBz1xBMI3A3Rn4t/GtldNIDdMH5MMnLw=,tag:HHaw6iMjEAv5b9mjHSVpwA==,type:str] @@ -42,8 +42,8 @@ sops: cGxZVnFhdXRka2drTGdkVk1iM0pFL1kK2ry7b2cLYPfntWi/BV3K2O+mHt3242Ef sI2JLLQYHeAhxjFdCzP1RDR+Wu/pRxZje6xuTZ9I9TKNmm+LhAXHQw== -----END AGE ENCRYPTED FILE----- - lastmodified: "2023-05-06T21:32:35Z" - mac: ENC[AES256_GCM,data:W0I9iLVAyWkqWw1m49cAO4eiv71hv0MMgqp/ZoPB/ImI/PijCJh3d3cSxM4HgDqhN7tPqwqegsR7pxbVNHch+VReLoOKOiXWCAmKNhZ2A5uO+RFnrmyCZ5HSbKmex4unzcX9hvkWl1X53dqiOUXu1tdbOt9M0tLxV2kfjPmqqs0=,iv:r9AHHkBZfk67w/MBpMDLjxrmo8JVpkm8Ko8MB/MHqW8=,tag:KuzAAHUbYGOtUu7sZqyXOw==,type:str] + lastmodified: "2023-09-13T02:13:45Z" + mac: ENC[AES256_GCM,data:NPJ0o+tH0P+zEHQndJGjmtZNezMiMRr4EtEiduZlU8iy8ByETphv8liQnrRt0S0I8fYXwQM/sVASBu7pw2johAkIakPiRGakXtmms31gSvSBef7TiLI5hNYRczoRbAK0co2bf0qz9QFNg86ALhybSDlhnBHw7vaXTyJTH8yCOd0=,iv:lMT49LMQnEp1A34wLpYIoHua97FV0a5byLrxRyr/NKA=,tag:iCRDx407/3/edJ8x7PB5rA==,type:str] pgp: - created_at: "2023-05-06T21:31:39Z" enc: |