diff options
author | sefidel <contact@sefidel.net> | 2023-02-04 01:11:52 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-02-04 01:11:52 +0900 |
commit | 0ee5d451542bc72d94a390ff968d2e17f91a4df3 (patch) | |
tree | 479911a06ece2b21d2484b426e0f2c3cb3a76c81 /colmena | |
parent | 8f5e9041a5a0c94adaf823de5fea1bccd8a4cfcf (diff) | |
download | nixrc-0ee5d451542bc72d94a390ff968d2e17f91a4df3.tar.gz nixrc-0ee5d451542bc72d94a390ff968d2e17f91a4df3.zip |
feat(colmena/services): add fail2ban
Diffstat (limited to 'colmena')
-rw-r--r-- | colmena/cobalt/configuration.nix | 1 | ||||
-rw-r--r-- | colmena/cobalt/services/fail2ban.nix | 5 |
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; + }; +} |