lights, nutrients, digital scale, plastic baggies, etc)

The digital scale, plastic baggies are enough for the judge to say dealer.
Backed up with this you would have to get the plant weigh right.
they weigh the whole plant not just the buds
find out the type of plant how much the average weight ya get from it
to prove how much you would of had.
so that can prove not a dealer
from there you would be caught with the amount of drugs
have your legal look over warrant for any details that could make it invalided
then after court case move out of the area start fresh else where
and if ya did sell it which it sounds like ya did to get tipped of they bring this guy/doll to court ya have had it
you may be able to get the laptop repair and window as part of there search that caused this. i dont know on this but nothing to lose now any way

sorry to hear this
let us know how it goes