Try pre-commit and formatting with alejandra
Some checks are pending
/ Build Nix targets (push) Waiting to run

This commit is contained in:
Théo Barnouin 2025-06-05 10:41:53 +02:00
parent 0eb6154c32
commit 32b60f1ff9
16 changed files with 325 additions and 248 deletions

View file

@ -15,9 +15,8 @@ in {
};
config = lib.mkIf cfg.enable {
age.secrets.netbox-lapi-key = {
file = ../../secrets/netbox-lapi-key.age;
owner = "crowdsec";
};
file = ../../secrets/netbox-lapi-key.age;
owner = "crowdsec";
};
services = {
crowdsec = {
@ -26,7 +25,7 @@ in {
acquisitions = [
{
source = "journalctl";
journalctl_filter = [ "_SYSTEMD_UNIT=netbox.service" ];
journalctl_filter = ["_SYSTEMD_UNIT=netbox.service"];
labels = {
type = "syslog";
};