anchor.diff:  { config, lib, options, pkgs, ... }:
   
   let
  -  inherit (lib) mkOption mkIf types filterAttrs literalExample mkRenamedOptionModule;
  +  inherit (lib)
  +    filterAttrs
  +    literalExample
  +    mkIf
  +    mkOption
  +    mkRemovedOptionModule
  +    mkRenamedOptionModule
  +    types
  +    ;
   
     cfg =
       config.services.hercules-ci-agent;
  
positive.code:       # even shortly after the previous lookup. This *also* applies to the daemon.
        narinfo-cache-negative-ttl = 0
      '';
      nix.package = mkIf cfg.patchNix patchedNix;
      services.hercules-ci-agent.tomlFile =
        format.generate "hercules-ci-agent.toml" cfg.settings;
    };
  
negative.code:       installPhase = "touch $out";
      };
  
  in
  {
    imports = [
      (mkRenamedOptionModule ["services" "hercules-ci-agent" "extraOptions"] ["services" "hercules-ci-agent" "settings"])
      (mkRenamedOptionModule ["services" "hercules-ci-agent" "baseDirectory"] ["services" "hercules-ci-agent" "settings" "baseDirectory"])
      (mkRenamedOptionModule ["services" "hercules-ci-agent" "concurrentTasks"] ["services" "hercules-ci-agent" "settings" "concurrentTasks"])
      (mkRemovedOptionModule ["services" "hercules-ci-agent" "patchNix"] "Nix versions packaged in this version of Nixpkgs don't need a patched nix-daemon to work correctly in Hercules CI Agent clusters.")
    ];
  
    options.services.hercules-ci-agent = {
  