summary refs log tree commit diff stats
path: root/system/services
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-03-25 14:32:23 +0100
committerene <ene@sils.li>2023-03-25 14:32:23 +0100
commit64a554d1af2de6d07ebe61be1f5a3181a5f90b81 (patch)
treed8a281c82d35d1db1388811771327b4594ae7b37 /system/services
parentMerge pull request 'server1_fail2ban' (#24) from server1_fail2ban into server... (diff)
downloadnixos-server-64a554d1af2de6d07ebe61be1f5a3181a5f90b81.tar.gz
nixos-server-64a554d1af2de6d07ebe61be1f5a3181a5f90b81.zip
Fix(system/services/rust-motd): Add fail2ban binary
Diffstat (limited to 'system/services')
-rw-r--r--system/services/rust-motd/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/services/rust-motd/default.nix b/system/services/rust-motd/default.nix
index 21bc1cd..4f65dce 100644
--- a/system/services/rust-motd/default.nix
+++ b/system/services/rust-motd/default.nix
@@ -3,6 +3,15 @@
   pkgs,
   ...
 }: {
+  systemd.services.rust-motd = {
+    path = builtins.attrValues {
+      inherit
+        (pkgs)
+        bash
+        fail2ban # Needed for rust-motd fail2ban integration
+        ;
+    };
+  };
   programs.rust-motd = {
     enable = true;
     enableMotdInSSHD = true;