From 0ee5d451542bc72d94a390ff968d2e17f91a4df3 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 4 Feb 2023 01:11:52 +0900 Subject: feat(colmena/services): add fail2ban --- colmena/cobalt/configuration.nix | 1 + colmena/cobalt/services/fail2ban.nix | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 colmena/cobalt/services/fail2ban.nix (limited to 'colmena') 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; + }; +} -- cgit 1.4.1