summary refs log tree commit diff stats
path: root/modules/by-name/fa/fail2ban/module.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/fa/fail2ban/module.nix')
-rw-r--r--modules/by-name/fa/fail2ban/module.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/by-name/fa/fail2ban/module.nix b/modules/by-name/fa/fail2ban/module.nix
index a95e267..c619ef9 100644
--- a/modules/by-name/fa/fail2ban/module.nix
+++ b/modules/by-name/fa/fail2ban/module.nix
@@ -13,8 +13,9 @@ in {
     vhack.persist.directories = [
       {
         directory = "/var/lib/fail2ban";
-        user = "fail2ban";
-        group = "fail2ban";
+        # TODO: Fail2ban should probably run under a dedicated `fail2ban` user. <2024-12-25>
+        user = "root";
+        group = "root";
         mode = "0700";
       }
     ];