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