mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
crowdsec
This commit is contained in:
parent
ae4639fa47
commit
6aa8354811
1 changed files with 9 additions and 17 deletions
|
|
@ -4,14 +4,12 @@
|
|||
services.crowdsec = {
|
||||
enable = true;
|
||||
|
||||
hub = {
|
||||
collections = [
|
||||
"crowdsecurity/linux"
|
||||
"crowdsecurity/sshd"
|
||||
"crowdsecurity/traefik"
|
||||
"crowdsecurity/http-cve"
|
||||
];
|
||||
};
|
||||
hub.collections = [
|
||||
"crowdsecurity/linux"
|
||||
"crowdsecurity/sshd"
|
||||
"crowdsecurity/traefik"
|
||||
"crowdsecurity/http-cve"
|
||||
];
|
||||
|
||||
localConfig = {
|
||||
acquisitions = [
|
||||
|
|
@ -36,21 +34,15 @@
|
|||
];
|
||||
};
|
||||
|
||||
settings = {
|
||||
api = {
|
||||
server = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
settings.general = {
|
||||
api.server.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.crowdsec-firewall-bouncer = {
|
||||
enable = true;
|
||||
|
||||
registerBouncer = {
|
||||
enable = true;
|
||||
};
|
||||
registerBouncer.enable = true;
|
||||
|
||||
settings = {
|
||||
mode = "nftables";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue