Feature/rfc 0166 fmt (#113)
* change formatter to nixfmt-rfc-style Signed-off-by: ahuston-0 <aliceghuston@gmail.com> * Add rfc-style fmt'ing Signed-off-by: ahuston-0 <aliceghuston@gmail.com> --------- Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
@ -1,7 +1,14 @@
|
||||
{ config, lib, libS, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
libS,
|
||||
...
|
||||
}:
|
||||
|
||||
let cfg = config.services.fail2ban;
|
||||
in {
|
||||
let
|
||||
cfg = config.services.fail2ban;
|
||||
in
|
||||
{
|
||||
options.services.fail2ban.recommendedDefaults = libS.mkOpinionatedOption "use fail2ban with recommended defaults";
|
||||
|
||||
config.services.fail2ban = lib.mkIf cfg.recommendedDefaults {
|
||||
|
Reference in New Issue
Block a user