about summary refs log tree commit diff
diff options
context:
space:
mode:
-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;
+  };
+}