From f5426be2f5340cfe103a8cf0153821dffe7c55d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 30 Dec 2024 16:30:20 +0100 Subject: Add missing borg backup config --- systems/eldiron/databases/postgresql.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'systems/eldiron/databases/postgresql.nix') diff --git a/systems/eldiron/databases/postgresql.nix b/systems/eldiron/databases/postgresql.nix index 721059a..573b173 100644 --- a/systems/eldiron/databases/postgresql.nix +++ b/systems/eldiron/databases/postgresql.nix @@ -95,6 +95,9 @@ in { }; config = lib.mkIf cfg.enable { + services.borgBackup.profiles.global.ignoredPaths = [ + "postgresql" + ]; networking.firewall.allowedTCPPorts = [ 5432 ]; security.acme.certs."postgresql" = { -- cgit v1.2.3