aboutsummaryrefslogtreecommitdiff
path: root/systems/eldiron/databases/postgresql.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2024-12-30 16:30:20 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2025-03-14 01:01:36 +0100
commitf5426be2f5340cfe103a8cf0153821dffe7c55d4 (patch)
tree136ff0d7a9bdec654502437acff1c7153aed128a /systems/eldiron/databases/postgresql.nix
parent710a9a6617422335bb84c5314394977310c073ef (diff)
downloadNix-f5426be2f5340cfe103a8cf0153821dffe7c55d4.tar.gz
Nix-f5426be2f5340cfe103a8cf0153821dffe7c55d4.tar.zst
Nix-f5426be2f5340cfe103a8cf0153821dffe7c55d4.zip
Add missing borg backup config
Diffstat (limited to 'systems/eldiron/databases/postgresql.nix')
-rw-r--r--systems/eldiron/databases/postgresql.nix3
1 files changed, 3 insertions, 0 deletions
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 {
95 }; 95 };
96 96
97 config = lib.mkIf cfg.enable { 97 config = lib.mkIf cfg.enable {
98 services.borgBackup.profiles.global.ignoredPaths = [
99 "postgresql"
100 ];
98 networking.firewall.allowedTCPPorts = [ 5432 ]; 101 networking.firewall.allowedTCPPorts = [ 5432 ];
99 102
100 security.acme.certs."postgresql" = { 103 security.acme.certs."postgresql" = {