optional config for teamviewer

update for #4542
I'm not sure if nix rebuilt my package after changes, which means i'm not sure if this kind "or" statement will always work correctly, but i hope you'll verify my noob commits :)