security: enable audit logging of program launch

This commit is contained in:
Khaïs COLIN 2024-08-30 14:20:29 +02:00
parent 173678734c
commit d33b8f05ee
2 changed files with 11 additions and 0 deletions

7
audit.nix Normal file
View file

@ -0,0 +1,7 @@
{
security.auditd.enable = true;
security.audit.enable = true;
security.audit.rules = [
"-a exit,always -F arch=b64 -S execve"
];
}