diff options
| author | Fuwn <[email protected]> | 2024-09-22 15:23:35 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-22 15:23:35 -0700 |
| commit | 5658bb7f8bf3522c501864ea73024f544b14de3a (patch) | |
| tree | 0436b387e6e815997da89cea46f2deb6984fb8ab /modules/desktop/security/audit.nix | |
| parent | core: move kansai networking to desktop (diff) | |
| download | nixos-config-5658bb7f8bf3522c501864ea73024f544b14de3a.tar.xz nixos-config-5658bb7f8bf3522c501864ea73024f544b14de3a.zip | |
core: move kansai security to desktop
Diffstat (limited to 'modules/desktop/security/audit.nix')
| -rw-r--r-- | modules/desktop/security/audit.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/desktop/security/audit.nix b/modules/desktop/security/audit.nix new file mode 100644 index 0000000..9922213 --- /dev/null +++ b/modules/desktop/security/audit.nix @@ -0,0 +1,17 @@ +let + enable = false; +in +{ + security = { + auditd.enable = enable; + + audit = { + inherit enable; + + rules = [ + "-a exit,always -F arch=b64 -S execve" + "-a exit,always -F arch=b32 -S execve" + ]; + }; + }; +} |