mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/rust-motd: Add fail2ban to path (#433471)
This commit is contained in:
commit
23eaaab25a
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue