diff options
Diffstat (limited to 'systems/eldiron/databases/postgresql.nix')
-rw-r--r-- | systems/eldiron/databases/postgresql.nix | 3 |
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" = { |