From e1614619fa78302f292c3ec3224cffec6689340e Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Wed, 8 Feb 2023 17:36:50 +0100 Subject: [PATCH] remove postgresql dependencies from matrix --- nixos/machines/robi/dendrite.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/nixos/machines/robi/dendrite.nix b/nixos/machines/robi/dendrite.nix index cea362f..118fcb6 100644 --- a/nixos/machines/robi/dendrite.nix +++ b/nixos/machines/robi/dendrite.nix @@ -86,17 +86,6 @@ in "matrix-server-key:${config.sops.secrets.matrix-server-key.path}" ]; - systemd.services.dendrite.after = [ "postgresql.service" ]; - services.postgresql = { - ensureDatabases = [ "dendrite" ]; - ensureUsers = [ - { - name = "dendrite"; - ensurePermissions."DATABASE dendrite" = "ALL PRIVILEGES"; - } - ]; - }; - services.nginx.virtualHosts.${nginx-vhost} = { forceSSL = true; enableACME = true;