audit: Disable by default
Because in its default enabled state it it causes a global performance
hit on all system calls (https://fedorahosted.org/fesco/ticket/1311) and
unwanted spam in dmesg, in particular when using Chromium
(https://github.com/NixOS/nixpkgs/issues/13710).
commit16b3e26da4455c6d3f876639ce27ce6cd40d6895
authorTuomas Tynkkynen <tuomas@tuxera.com>
dateMon 22 Aug 2016, 18:11 (10 years ago)
parent5eff0b9
nixos/modules/security/audit.nix+1−1
@@ -55,7 +55,7 @@ in {
5555 security.audit = {
5656 enable = mkOption {
5757 type = types.enum [ false true "lock" ];
58− default = true; # The kernel seems to enable it by default with no rules anyway
58+ default = false;
5959 description = ''
6060 Whether to enable the Linux audit system. The special `lock' value can be used to
6161 enable auditing and prevent disabling it until a restart. Be careful about locking