anchor.diff:          --set XDG_RUNTIME_DIR ${varDir}
       '';
     };
  +  opts = "${optionalString cfg.allowPrivateAddresses "-L"} ${optionalString cfg.noBootstrap "-b"} ${optionalString cfg.specifiedPeersOnly "-e"}";
  +  peers = concatStringsSep " " (map (str: "-P \"${str}\"") cfg.peers);
  +  listen = if cfg.listenAddress == [] then "-p ${toString cfg.port}" else
  +    concatStringsSep " " (map (addr: "-a \"${addr}:${toString cfg.port}\"") cfg.listenAddress);
   in
   
   with lib;
  
positive.code:         description = "Set the nice level for the notbit daemon";
        };
  
      };
  
    };
  
negative.code: 
        serviceConfig = {
          Type = "forking";
          ExecStart = "${pkgs.notbit}/bin/notbit -d ${listen} ${peers} ${opts}";
          User = "notbit";
          Group = "notbit";
          UMask = "0077";
  