lots
This commit is contained in:
parent
59b0c85d63
commit
e09709c638
22 changed files with 335 additions and 197 deletions
14
common/nixos/logrotate.nix
Normal file
14
common/nixos/logrotate.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
services.logrotate = {
|
||||
settings = {
|
||||
"var/log/audit/audit.log" = {
|
||||
frequency = "daily";
|
||||
rotate = 3;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue