nixos/rust-motd: Add fail2ban to path (#433471)

This commit is contained in:
h7x4 2025-10-16 21:03:35 +00:00 committed by GitHub
commit 23eaaab25a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -113,7 +113,7 @@ in
}
];
systemd.services.rust-motd = {
path = with pkgs; [ bash ];
path = with pkgs; [ bash ] ++ lib.optional (cfg.settings.fail_2_ban or { } != { }) fail2ban;
documentation = [
"https://github.com/rust-motd/rust-motd/blob/v${pkgs.rust-motd.version}/README.md"
];