aboutsummaryrefslogtreecommitdiff
path: root/modules/private/system/backup-2.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-12-01 18:25:16 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-12-01 18:25:16 +0100
commit9f2025235d888eb4a7822024a5fad2e288388814 (patch)
treecd9ed388375e5843b373a5975b1e902b61ecaded /modules/private/system/backup-2.nix
parent0012da0ff3d45df9f68412b90be4f7c24d46a777 (diff)
downloadNix-9f2025235d888eb4a7822024a5fad2e288388814.tar.gz
Nix-9f2025235d888eb4a7822024a5fad2e288388814.tar.zst
Nix-9f2025235d888eb4a7822024a5fad2e288388814.zip
Add monitoring for backup-2
Diffstat (limited to 'modules/private/system/backup-2.nix')
-rw-r--r--modules/private/system/backup-2.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/private/system/backup-2.nix b/modules/private/system/backup-2.nix
index 1c5b7d8..3120a57 100644
--- a/modules/private/system/backup-2.nix
+++ b/modules/private/system/backup-2.nix
@@ -3,6 +3,7 @@
3{ 3{
4 boot.kernelPackages = pkgs.linuxPackages_latest; 4 boot.kernelPackages = pkgs.linuxPackages_latest;
5 _module.args.privateFiles = privateFiles; 5 _module.args.privateFiles = privateFiles;
6 _module.args.hostFQDN = "backup-2.v.immae.eu";
6 imports = builtins.attrValues (import ../..); 7 imports = builtins.attrValues (import ../..);
7 8
8 deployment = { 9 deployment = {
@@ -48,6 +49,7 @@
48 ssh_key_private = myconfig.env.rsync_backup.ssh_key.private; 49 ssh_key_private = myconfig.env.rsync_backup.ssh_key.private;
49 }; 50 };
50 51
52 myServices.monitoring.enable = true;
51 myServices.databasesReplication = { 53 myServices.databasesReplication = {
52 postgresql = { 54 postgresql = {
53 enable = true; 55 enable = true;