anchor.diff:        "systemd/coredump.conf".text =
         ''
           [Coredump]
  -        ${config.systemd.coredump.extraConfig}
  +        ${cfg.extraConfig}
         '';
   
         # install provided sysctl snippets
  
positive.code:     };
      users.groups.systemd-coredump = {};
  
      boot.kernel.sysctl."kernel.core_pattern" = mkIf (!config.systemd.coredump.enable) "core";
    };
  }
  
negative.code: with lib;
  
  let
    cfg = config.systemd.coredump;
    systemd = config.systemd.package;
  in {
    options = {
  