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

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