aboutsummaryrefslogtreecommitdiff
path: root/modules/private
diff options
context:
space:
mode:
Diffstat (limited to 'modules/private')
-rw-r--r--modules/private/databases/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/private/databases/default.nix b/modules/private/databases/default.nix
index 3f7a44b..b2739bf 100644
--- a/modules/private/databases/default.nix
+++ b/modules/private/databases/default.nix
@@ -1,4 +1,4 @@
1{ lib, config, myconfig, ... }: 1{ lib, config, myconfig, nodes, ... }:
2let 2let
3 cfg = config.myServices.databases; 3 cfg = config.myServices.databases;
4in 4in
@@ -54,6 +54,10 @@ in
54 ip4 = [myconfig.env.servers.backup-1.ips.main.ip4]; 54 ip4 = [myconfig.env.servers.backup-1.ips.main.ip4];
55 ip6 = myconfig.env.servers.backup-1.ips.main.ip6; 55 ip6 = myconfig.env.servers.backup-1.ips.main.ip6;
56 }; 56 };
57 backup-2 = {
58 ip4 = [myconfig.env.servers.backup-2.ips.main.ip4];
59 ip6 = myconfig.env.servers.backup-2.ips.main.ip6;
60 };
57 }; 61 };
58 enable = true; 62 enable = true;
59 }; 63 };