Skip to content

Instantly share code, notes, and snippets.

@alebon
Created February 20, 2021 09:34
Show Gist options
  • Save alebon/f75a4a64b34e5619f3410c51ac264715 to your computer and use it in GitHub Desktop.
Save alebon/f75a4a64b34e5619f3410c51ac264715 to your computer and use it in GitHub Desktop.
Ethminer shell
{ pkgs ? import <nixpkgs> { } }:
let
ethMinerScript = pkgs.writeScriptBin "start" ''
ethminer --farm-recheck 200 --cuda --pool stratum1+tcp://<ETH_ADDRESS>.<ETH_MINER_TAG>@eu1.ethermine.org:4444
'';
in
pkgs.mkShell {
buildInputs = with pkgs; [
ethminer
ethMinerScript
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment