From c81d4c89118cbb793cda31439051471290cb1200 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 15 Oct 2024 20:09:27 -0700 Subject: pc: move services out of software --- modules/pc/software/services/logrotate.nix | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 modules/pc/software/services/logrotate.nix (limited to 'modules/pc/software/services/logrotate.nix') 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"}"; - }; - }; -} -- cgit v1.2.3