Commit c94886514b13

Vincent Demeester <vincent@sbr.pm>
2025-12-19 10:03:13
chore(webdav): simplify rules configuration and update credentials
- Consolidate regex flag and path into single regex field - Update encrypted password for improved security - Improve configuration readability and maintainability Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 3aecf1c
Changed files (2)
secrets
systems
secrets/rhea/webdav-password.age
Binary file
systems/rhea/extra.nix
@@ -457,9 +457,8 @@ in
         ];
         rules = [
           {
-            regex = true;
+            regex = "(\\..*|.*\\.tmp)$"; # Block hidden files and .tmp files
             allow = false;
-            path = "/(\\..*|.*\\.tmp)$"; # Block hidden files and .tmp files
           }
         ];
       };