anchor.diff:  { config, lib, pkgs, ... }:
   
   with lib;
  -
   let
     cfg = config.services.pykms;
     libDir = "/var/lib/pykms";
   
  -in {
  +in
  +{
     meta.maintainers = with lib.maintainers; [ peterhoeg ];
   
     imports = [
  
positive.code:         ExecStartPre = "${getBin pykms}/libexec/create_pykms_db.sh ${libDir}/clients.db";
          ExecStart = lib.concatStringsSep " " ([
            "${getBin pykms}/bin/server"
            "--logfile STDOUT"
            "--loglevel ${cfg.logLevel}"
          ] ++ cfg.extraArgs ++ [
            cfg.listenAddress
            (toString cfg.port)
  
negative.code:       };
  
        logLevel = mkOption {
          type = types.enum [ "CRITICAL" "ERROR" "WARNING" "INFO" "DEBUG" "MININFO" ];
          default = "INFO";
          description = "How much to log";
        };
  
        extraArgs = mkOption {
          type = types.listOf types.str;
          default = [ ];
          description = "Additional arguments";
        };
      };
  