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 = {
|
services.crowdsec = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
hub = {
|
hub.collections = [
|
||||||
collections = [
|
"crowdsecurity/linux"
|
||||||
"crowdsecurity/linux"
|
"crowdsecurity/sshd"
|
||||||
"crowdsecurity/sshd"
|
"crowdsecurity/traefik"
|
||||||
"crowdsecurity/traefik"
|
"crowdsecurity/http-cve"
|
||||||
"crowdsecurity/http-cve"
|
];
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
localConfig = {
|
localConfig = {
|
||||||
acquisitions = [
|
acquisitions = [
|
||||||
|
|
@ -36,21 +34,15 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
settings = {
|
settings.general = {
|
||||||
api = {
|
api.server.enable = true;
|
||||||
server = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.crowdsec-firewall-bouncer = {
|
services.crowdsec-firewall-bouncer = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
registerBouncer = {
|
registerBouncer.enable = true;
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
mode = "nftables";
|
mode = "nftables";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue