diff options
| author | Fuwn <[email protected]> | 2024-10-15 20:09:27 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-15 20:09:27 -0700 |
| commit | c81d4c89118cbb793cda31439051471290cb1200 (patch) | |
| tree | d6512b2f7a16769148fe923ea245e82cc12b255b /modules/pc/software/services/logrotate.nix | |
| parent | lock: bump tsutsumi (diff) | |
| download | nixos-config-c81d4c89118cbb793cda31439051471290cb1200.tar.xz nixos-config-c81d4c89118cbb793cda31439051471290cb1200.zip | |
pc: move services out of software
Diffstat (limited to 'modules/pc/software/services/logrotate.nix')
| -rw-r--r-- | modules/pc/software/services/logrotate.nix | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/modules/pc/software/services/logrotate.nix b/modules/pc/software/services/logrotate.nix deleted file mode 100644 index 2dedf2e..0000000 --- a/modules/pc/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"}"; - }; - }; -} |