about summary refs log tree commit diff
path: root/colmena/cobalt
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-04 01:11:52 +0900
committersefidel <contact@sefidel.net>2023-02-04 01:11:52 +0900
commit0ee5d451542bc72d94a390ff968d2e17f91a4df3 (patch)
tree479911a06ece2b21d2484b426e0f2c3cb3a76c81 /colmena/cobalt
parent8f5e9041a5a0c94adaf823de5fea1bccd8a4cfcf (diff)
downloadnixrc-0ee5d451542bc72d94a390ff968d2e17f91a4df3.tar.gz
nixrc-0ee5d451542bc72d94a390ff968d2e17f91a4df3.zip
feat(colmena/services): add fail2ban
Diffstat (limited to 'colmena/cobalt')
-rw-r--r--colmena/cobalt/configuration.nix1
-rw-r--r--colmena/cobalt/services/fail2ban.nix5
2 files changed, 6 insertions, 0 deletions
diff --git a/colmena/cobalt/configuration.nix b/colmena/cobalt/configuration.nix
index 8a251c6..cd56f40 100644
--- a/colmena/cobalt/configuration.nix
+++ b/colmena/cobalt/configuration.nix
@@ -26,6 +26,7 @@ in
 
       ./services/acme.nix
       ./services/nginx.nix
+      ./services/fail2ban.nix
       ./services/soju.nix
       ./services/gitolite.nix
       ./services/cgit.nix
diff --git a/colmena/cobalt/services/fail2ban.nix b/colmena/cobalt/services/fail2ban.nix
new file mode 100644
index 0000000..9731ef6
--- /dev/null
+++ b/colmena/cobalt/services/fail2ban.nix
@@ -0,0 +1,5 @@
+{
+  services.fail2ban = {
+    enable = true;
+  };
+}