If you're just some average person, no, you aren't writing off the expenses. You should just add it to Schedule 1 line 8z "Other Income" and write "crypto mining" as what it is from. If you're just some average person, the actual tax on that money is going to be something like 10-15%.
You can save a lot of time and effort: If it's not profitable when you pay your taxes, it isn't profitable. It's a hobby.
In case anyone is wondering, the cited document discusses _unreimbursed_ _employee_ expenses. This means something like: you used your guest room as an office to perform remote work for your employer, and they didn't give you any rent for that space. In some times past you could actually pay less tax by declaring that you had rented your guest room to your employer but they hadn't paid you the rent, and so that's now a loss to you upon which you don't pay tax. This document says "nope, you can't do that any more".
I am not one.
However, my understanding is that all of this might be best handled as a Sole Proprietorship and filed using Schedule C - Profit and Loss from a Business.
[0] https://www.irs.gov/pub/irs-pdf/p529.pdf