Use $Nix::Config::curl
Removed xterm dublicate

For Debian the first must be x-terminal-emulator