Generating a QR-Code for home Wifi access

On ArchLinux, install a QR code generator library

$ sudo pacman -S python2-qrcode

And then generates with

$ qr 'WIFI:S:<SSID>;T:<WPA|WEP|>;P:<password>;;' > qr-code.png

They should be readable with any zxing based reader.