nixos/rust-motd: Add fail2ban to path
This commit is contained in:
@@ -113,7 +113,7 @@ in
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
systemd.services.rust-motd = {
|
systemd.services.rust-motd = {
|
||||||
path = with pkgs; [ bash ];
|
path = with pkgs; [ bash ] ++ lib.optional (cfg.settings.fail_2_ban or { } != { }) fail2ban;
|
||||||
documentation = [
|
documentation = [
|
||||||
"https://github.com/rust-motd/rust-motd/blob/v${pkgs.rust-motd.version}/README.md"
|
"https://github.com/rust-motd/rust-motd/blob/v${pkgs.rust-motd.version}/README.md"
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user