anchor.diff:  { config, lib, pkgs, ... }:
   
  +with pkgs.lib;
   let
     cfg = config.services.notbit;
     varDir = "/var/lib/notbit";
  
positive.code:         --set XDG_RUNTIME_DIR ${varDir}
      '';
    };
  in
  
  with lib;
  
negative.code:         description = "Set the nice level for the notbit daemon";
        };
  
        listenAddress = mkOption {
          type = types.listOf types.str;
          default = [ ];
          example = [ "localhost" "myhostname" ];
          description = "The addresses which notbit will use to listen for incoming connections. These addresses are advertised to connecting clients.";
        };
  
        peers = mkOption {
          type = types.listOf types.str;
          default = [ ];
          example = [ "bitmessage.org:8877" ];
          description = "The initial set of peers notbit will connect to.";
        };
  
        specifiedPeersOnly = mkOption {
          type = types.uniq types.bool;
          default = false;
          description = "If true, notbit will only connect to peers specified by the peers option.";
        };
  
        allowPrivateAddresses = mkOption {
          type = types.uniq types.bool;
          default = false;
          description = "If true, notbit will allow connections to to RFC 1918 addresses.";
        };
  
        noBootstrap = mkOption {
          type = types.uniq types.bool;
          default = false;
          description = "If true, notbit will not bootstrap an initial peerlist from bitmessage.org servers";
        };
  
      };
  
    };
  