From 58a9d391431de5fc96d8c989bc1e99e98d7c93b4 Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 1 Aug 2023 21:24:10 +0900 Subject: feat(systems/cobalt): re-enable auto root rollback --- modules/services/fail2ban.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/services/fail2ban.nix') diff --git a/modules/services/fail2ban.nix b/modules/services/fail2ban.nix index 99351b1..7d3c4bf 100644 --- a/modules/services/fail2ban.nix +++ b/modules/services/fail2ban.nix @@ -13,5 +13,8 @@ in services.fail2ban = { enable = true; }; + environment.persistence."/persist".directories = [ + "/var/lib/fail2ban" + ]; }; } -- cgit 1.4.1