"Earning while you sleep" is what you will read on the Pivx website. This is done by a procedure called Staking, an alternative to mining.
Pivx Staking is a method of holding your coins in a wallet on your computer in order to receive a reward. This reward is in the way of Pivx tokens. You are provided this reward for supporting the network by holding coins in the wallet and running a node.
In this video, I give you an in-depth tutorial on how you can stake Pivx from your own computer.