Try pre-commit and formatting with alejandra
Some checks are pending
/ Build Nix targets (push) Waiting to run
Some checks are pending
/ Build Nix targets (push) Waiting to run
This commit is contained in:
parent
0eb6154c32
commit
32b60f1ff9
16 changed files with 325 additions and 248 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue