Change ranger rifle.conf in home manager

Im having problems in editing ranger rifle config trough home-manager. I checked some options in MyNixOs but i can’t manage to make it work; for example, I have no idea what to put in ranger.rifle.config as it keeps telling me that he requires a “submodule” or what to put int the * in ranger.rifle.*.condition.

Any help is welcome, thanks.

edit: For the record im trying to make qimgv the default for opening images