commit d3a2fa6dbe7f9a3f49c0e1319ad130c4546dd752
parent 5d32ab151870746b5dec0633ba7ebd08cf761b27
Author: William Casarin <jb55@jb55.com>
Date: Fri, 2 Oct 2020 14:20:01 -0700
nix/monad: logrotate.config -> extraConfig
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nix-config/machines/monad/nginx/default.nix b/nix-config/machines/monad/nginx/default.nix
@@ -19,7 +19,7 @@ let sites = [ ];
gitCfg = extra.git-server { inherit config pkgs; extra = extra // gitExtra; };
razornetGit = extra.git-server { inherit config pkgs; extra = extra // razornetExtra; };
in {
- services.logrotate.config = ''
+ services.logrotate.extraConfig = ''
${logDir}/*.log {
daily
missingok