mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 12:51:34 +01:00
crowdsec: Disable the new implementation
This commit is contained in:
parent
f0bb9d6160
commit
d9eae8fc2c
2 changed files with 3 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ let
|
|||
in
|
||||
{
|
||||
imports = [ inputs.crowdsec.nixosModules.crowdsec-firewall-bouncer ];
|
||||
disabledModules = [ "services/security/crowdsec-firewall-bouncer.nix" ];
|
||||
|
||||
options.custom.services.crowdsec.bouncers.firewall = lib.mkEnableOption "";
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ let
|
|||
user = config.users.users.crowdsec.name;
|
||||
in
|
||||
{
|
||||
disabledModules = [ "services/security/crowdsec.nix" ];
|
||||
imports = [ inputs.crowdsec.nixosModules.crowdsec ];
|
||||
|
||||
options.custom.services.crowdsec = {
|
||||
|
|
@ -51,7 +52,7 @@ in
|
|||
|
||||
services.crowdsec = {
|
||||
enable = true;
|
||||
package = inputs.crowdsec.packages.${pkgs.system}.crowdsec;
|
||||
package = inputs.crowdsec.packages.${pkgs.stdenv.hostPlatform.system}.crowdsec;
|
||||
enrollKeyFile = config.sops.secrets."crowdsec/enrollment-key".path;
|
||||
settings = {
|
||||
api.server.listen_uri = "localhost:${toString cfg.apiPort}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue