mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
crowdsec
This commit is contained in:
parent
5742bc2a7d
commit
e12f26c6d6
1 changed files with 11 additions and 3 deletions
|
|
@ -4,8 +4,6 @@
|
|||
services.crowdsec = {
|
||||
enable = true;
|
||||
|
||||
api.server.enable = true;
|
||||
|
||||
hub.collections = [
|
||||
"crowdsecurity/linux"
|
||||
"crowdsecurity/sshd"
|
||||
|
|
@ -33,12 +31,22 @@
|
|||
labels.type = "traefik";
|
||||
}
|
||||
];
|
||||
|
||||
settings = {
|
||||
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