citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

commit aa51e96ea1be11b4c7741a6464d953198eadf9a6
parent 823b5c31d4a3b14e9cc52de209851df27802ab2a
Author: William Casarin <jb55@jb55.com>
Date:   Wed,  4 Nov 2020 11:28:06 -0800

nix: fix logrotate configs

Diffstat:
Mnix-config/services/default.nix | 18++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/nix-config/services/default.nix b/nix-config/services/default.nix @@ -16,14 +16,12 @@ extra: services.atd.enable = true; - services.logrotate = { - enable = true; - config = '' - dateext - dateformat %Y-%m-%d. - compresscmd ${pkgs.xz.bin}/bin/xz - uncompresscmd ${pkgs.xz.bin}/bin/unxz - compressext .xz - ''; - }; + services.logrotate.enable = true; + services.logrotate.extraConfig = '' + dateext + dateformat %Y-%m-%d. + compresscmd ${pkgs.xz.bin}/bin/xz + uncompresscmd ${pkgs.xz.bin}/bin/unxz + compressext .xz + ''; }