nixos/rust-motd: Add fail2ban to path

This commit is contained in:
Kryštof Baksa
2025-08-13 21:34:52 +02:00
committed by Golbinex
parent 460dc18112
commit 1d49b8aba6

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"
];