diff options
| author | Fuwn <[email protected]> | 2024-09-20 05:36:20 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-20 05:36:20 -0700 |
| commit | d9747c64b038943253eaafdc59a49d5face46dab (patch) | |
| tree | b452d15a7f20e9f4bb70ec9f9040137bec1072f8 /modules/software/services/logrotate.nix | |
| parent | himeji: move containers over from seti (diff) | |
| download | nixos-config-d9747c64b038943253eaafdc59a49d5face46dab.tar.xz nixos-config-d9747c64b038943253eaafdc59a49d5face46dab.zip | |
modules: server and core modules
Diffstat (limited to 'modules/software/services/logrotate.nix')
| -rw-r--r-- | modules/software/services/logrotate.nix | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/modules/software/services/logrotate.nix b/modules/software/services/logrotate.nix deleted file mode 100644 index 2dedf2e..0000000 --- a/modules/software/services/logrotate.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ pkgs, lib, ... }: -{ - services.logrotate.settings = { - "/var/log/audit/audit.log" = { }; - - header = { - global = true; - dateext = true; - dateformat = "-%Y-%m-%d"; - nomail = true; - missingok = true; - copytruncate = true; - priority = 1; - frequency = "daily"; - rotate = 7; - minage = 1; - compress = true; - compresscmd = "${lib.getExe' pkgs.zstd "zstd"}"; - compressoptions = " -Xcompression-level 10"; - compressext = "zst"; - uncompresscmd = "${lib.getExe' pkgs.zstd "unzstd"}"; - }; - }; -} |