Skip to content

Commit

Permalink
audit: add audit rules
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Jun 3, 2024
1 parent e876d96 commit 7e3458b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion hosts/common/optional/audit.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
{
security.auditd.enable = true;
security = {
audit = {
enable = true;
rules = [
"-w /dev/ttyUSB0 -p rwxa"
];
};
auditd.enable = true;
};
}

0 comments on commit 7e3458b

Please sign in to comment.