Pretty sure this is all snake oil — both f.lux and Night Shift. I don't doubt that blue light affects our brains. But I see no evidence that color filter software has any impact.
If the issue is the number of blue photons per square millimeter of our retinas, why isn't it being discussed as such? This means screen brightness and distance from your face would have a much bigger impact than a color filter.
I personally think the f.lux team knows this and that's why their FAQ is devoid of any questions about effectiveness.
FWIW the only person I've known to use f.lux is an insomniac who barely ever sleeps and is always tired.