nixos(base): add audit/auditd
This commit is contained in:
parent
882b3031ae
commit
1d8715ab93
2 changed files with 9 additions and 0 deletions
8
nixos/modules/base/security/audit.nix
Normal file
8
nixos/modules/base/security/audit.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
security = {
|
||||
audit = {
|
||||
enable = true;
|
||||
};
|
||||
auditd.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./audit.nix
|
||||
./kernel.nix
|
||||
./pam.nix
|
||||
./polkit.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue