security.audit.enable

NixOS option

Whether to enable the Linux audit system. The special lock value can be used to enable auditing and prevent disabling it until a restart. Be careful about locking this, as it will prevent you from changing your audit configuration until you restart. If possible, test your configuration using build-vm beforehand.

type: one of false, true, "lock"
Default
false
declared in: nixos/modules/security/audit.nixView source on NixOS/nixpkgs →