anchor.diff:  let
     cfg = config.services.logrotate;
   
  -  pathOpts = {
  +  pathOpts = { name, ... }:  {
       options = {
         enable = mkOption {
           type = types.bool;
  
positive.code:       };
      };
  
      config.extraConfig = ''
        missingok
        notifempty
  
negative.code:       description = "Logrotate Service";
        wantedBy = [ "multi-user.target" ];
        startAt = "hourly";
  
        serviceConfig = {
          Restart = "no";
          User = "root";
          ExecStart = "${pkgs.logrotate}/sbin/logrotate ${configFile}";
        };
      };
    };
  