anchor.diff:      };
     };
   
  -  mkStateDirParam = opt : default : description : {
  -    toArgs = _opt : stateDir : optionToArgs opt "/var/lib/${stateDir}";
  +  mkStateDirParam = opt: default: description: {
  +    toArgs = _opt: stateDir: optionToArgs opt "/var/lib/${stateDir}";
       option = mkOption {
         type = types.str;
         inherit default;
  
positive.code: let
    cfg = config.services.thanos;
  
    nullOpt = type : description : mkOption {
      type = types.nullOr type;
      default = null;
      inherit description;
    };
  
    optionToArgs = opt : v   : optional (v != null)  ''--${opt}="${toString v}"'';
    flagToArgs   = opt : v   : optional v            ''--${opt}'';
    listToArgs   = opt : vs  : map               (v: ''--${opt}="${v}"'') vs;
    attrsToArgs  = opt : kvs : mapAttrsToList (k: v: ''--${opt}=${k}=\"${v}\"'') kvs;
  
    mkParamDef = type : default : description : mkParam type (description + ''
  
      Defaults to <literal>${toString default}</literal> in Thanos
      when set to <literal>null</literal>.
    '');
  
    mkParam = type : description : {
      toArgs = optionToArgs;
      option = nullOpt type description;
    };
  
    mkFlagParam = description : {
      toArgs = flagToArgs;
      option = mkOption {
        type = types.bool;
  
negative.code:     };
    };
  
    mkListParam = opt: description: {
      toArgs = _opt: listToArgs opt;
      option = mkOption {
        type = types.listOf types.str;
        default = [];
  