How to mine Ethereum with Nix

With the recent upmelting values of crypto currencies it can now be again very profitable to mine with your own GPU. One of the best options is mining of ETH, the cryptocurrency of the Ethereum network.

Back in 2017 I was using my own Linux machines which were at this time running Manjaro or Ubuntu to mine XMR or ETH. Meanwhile I migrated all my machines/servers to NixOS and was curious if it is easily possible…