I would imagine it would have to be baked into the OS (if not jailbroken) as I presume you'd want it to affect the display and all applications. But I completely agree, I love f.lux on my computer. The only downside is I feel the need to sleep very quickly if I try and work at night :)