aboutsummaryrefslogtreecommitdiff
path: root/cluster
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-02-09 22:57:52 +0100
committerAlex Auvolat <alex@adnab.me>2022-02-09 22:57:52 +0100
commit73742f38a422ed419e3aa192de8aa4db59628740 (patch)
treeececedf41667bb4aa3af127ee9fa4a1f8a732bb0 /cluster
parentb0010b309b89eb64a4ca9e2dd7ceb37b42fd365a (diff)
downloadnixcfg-73742f38a422ed419e3aa192de8aa4db59628740.tar.gz
nixcfg-73742f38a422ed419e3aa192de8aa4db59628740.zip
Firewall rules and netdata monitoring for Garage expansion
Diffstat (limited to 'cluster')
-rw-r--r--cluster/prod/cluster.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/cluster/prod/cluster.nix b/cluster/prod/cluster.nix
index ab70c77..5a717df 100644
--- a/cluster/prod/cluster.nix
+++ b/cluster/prod/cluster.nix
@@ -55,4 +55,10 @@
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIDdVbA9fEdqSr5UJ77NnoIqDTVp8ca5kHExhZYI4ecBExFJfonJllXMBN9KdC4ukxtY8Ug47PcMOfMaTBZQc+e+KpvDWpkBt15Xpem3RCxmMBES79sLL7LgtAdBXc5mNaCX8EOEVixWKdarjvxRyf6py6the51G5muaiMpoj5fae4ZpRGjhGTPefzc7y7zRWBUUZ8pYHW774BIaK6XT9gn3hyHV+Occjl/UODXvodktk55YtnuPi8adXTYEsHrVVz8AkFhx+cr0U/U8vtQnsTrZG+JmgQLqpXVs0RDw5bE1RefEbMuYNKxutYKUe3L+ZJtDe0M0MqOFI8a4F5TxP5 katchup@konata"
];
};
+
+ # For Garage external communication
+ networking.firewall.allowedTCPPorts = [ 3901 ];
+
+ # Enable netdata monitoring
+ services.netdata.enable = true;
}