anchor.diff:        after = [ "network.target" ];
         description = "Deluge BitTorrent Daemon";
         wantedBy = [ "multi-user.target" ];
  -      path = [ pkgs.deluge ];
  +      path = [ pkgs.deluge ] ++ cfg.extraPackages;
         serviceConfig = {
           ExecStart = ''
             ${pkgs.deluge}/bin/deluged \
  
positive.code:   };
  
    config = mkIf cfg.enable {
  
      systemd.tmpfiles.rules = [ "d '${configDir}' 0770 ${cfg.user} ${cfg.group}" ]
      ++ optional (cfg.config ? "download_location")
  
negative.code:             Group under which deluge runs.
            '';
          };
  
          extraPackages = mkOption {
            type = types.listOf types.package;
            default = [];
            description = ''
              Extra packages available at runtime to enable Deluge's plugins. For example,
              extraction utilities are required for the built-in "Extractor" plugin.
              This always contains unzip, gnutar, xz, p7zip and bzip2.
            '';
          };
        };
  
        deluge.web = {
  