diff --git a/modules/system/services/crowdsec/default.nix b/modules/system/services/crowdsec/default.nix index 2b5c78d..76ef72f 100644 --- a/modules/system/services/crowdsec/default.nix +++ b/modules/system/services/crowdsec/default.nix @@ -38,10 +38,9 @@ in enable = true; package = inputs.crowdsec.packages.${pkgs.system}.crowdsec; enrollKeyFile = config.sops.secrets."crowdsec/enrollment-key".path; - settings = { - api.server.listen_uri = "127.0.0.1:${toString cfg.apiPort}"; - }; + settings.api.server.listen_uri = "127.0.0.1:${toString cfg.apiPort}"; + allowLocalJournalAccess = true; acquisitions = let mkAcquisition =