aboutsummaryrefslogtreecommitdiff
path: root/modules/private/system
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-12-07 08:05:53 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-12-07 08:05:53 +0100
commitdded66995529a0419cc56778f4ebb4247c2ab765 (patch)
treed355e6adda5b833c50c473062fb51f078918878c /modules/private/system
parent9f6a78629aad1d22dc8b928860fd05eb40f07352 (diff)
downloadNix-dded66995529a0419cc56778f4ebb4247c2ab765.tar.gz
Nix-dded66995529a0419cc56778f4ebb4247c2ab765.tar.zst
Nix-dded66995529a0419cc56778f4ebb4247c2ab765.zip
Add replication for redis
Diffstat (limited to 'modules/private/system')
-rw-r--r--modules/private/system/backup-2.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/private/system/backup-2.nix b/modules/private/system/backup-2.nix
index 0e94a1a..3d51fa3 100644
--- a/modules/private/system/backup-2.nix
+++ b/modules/private/system/backup-2.nix
@@ -77,6 +77,16 @@
77 }; 77 };
78 }; 78 };
79 }; 79 };
80 redis = {
81 enable = true;
82 base = "/backup2";
83 hosts = {
84 eldiron = {
85 host = "127.0.0.1";
86 port = "16379";
87 };
88 };
89 };
80 }; 90 };
81 91
82 # This value determines the NixOS release with which your system is 92 # This value determines the NixOS release with which your system is