diff options
author | ene <ene@sils.li> | 2023-03-25 14:32:23 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-25 14:32:23 +0100 |
commit | 64a554d1af2de6d07ebe61be1f5a3181a5f90b81 (patch) | |
tree | d8a281c82d35d1db1388811771327b4594ae7b37 | |
parent | Merge pull request 'server1_fail2ban' (#24) from server1_fail2ban into server... (diff) | |
download | nixos-server-64a554d1af2de6d07ebe61be1f5a3181a5f90b81.tar.gz nixos-server-64a554d1af2de6d07ebe61be1f5a3181a5f90b81.zip |
Fix(system/services/rust-motd): Add fail2ban binary
Diffstat (limited to '')
-rw-r--r-- | system/services/rust-motd/default.nix | 9 |
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; |