feat: add CrowdSec security module
- Wraps native NixOS CrowdSec service - Configures SSH and nginx log acquisition - Installs linux/nginx/sshd hub collections - Supports IP whitelisting and ban duration config - Optional nginx bouncer integration (requires manual API key setup) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
db4f0f8f61
commit
211693ef3b
3 changed files with 145 additions and 0 deletions
|
|
@ -113,4 +113,10 @@
|
|||
domain = "vault.ashisgreat.xyz";
|
||||
signupAllowed = false;
|
||||
};
|
||||
|
||||
# === CrowdSec ===
|
||||
myModules.crowdsec = {
|
||||
enable = true;
|
||||
enableNginxBouncer = false; # Set to true after configuring bouncer API key
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue