nixos: services: fail2ban: persist data
This commit is contained in:
parent
075a52f8db
commit
34592cfd52
|
@ -33,5 +33,9 @@ in
|
|||
bantime = "10m";
|
||||
};
|
||||
};
|
||||
|
||||
my.system.persist.directories = [
|
||||
"/var/lib/${config.systemd.services.fail2ban.serviceConfig.StateDirectory}"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue