Merge pull request #62954 from abbradar/auditd

auditd service: make more useful
This commit is contained in:
Aaron Andersen 2019-08-31 12:04:59 -04:00 committed by GitHub
commit 58163e633b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,10 @@ with lib;
options.security.auditd.enable = mkEnableOption "the Linux Audit daemon";
config = mkIf config.security.auditd.enable {
boot.kernelParams = [ "audit=1" ];
environment.systemPackages = [ pkgs.audit ];
systemd.services.auditd = {
description = "Linux Audit daemon";
wantedBy = [ "basic.target" ];