I got a pair of blue-blocking lenses that are much more aggressive than f.lux. Personal annecdata from my wife and I is that they are fantastic. I can feel my whole body relax when I put them on, and I can go straight to bed after using screens.
They work pretty much the same way, so I think there shouldn't be a difference in regard to computer screens. As for the surroundings—I toyed with cycling glasses for a bit, which for some reason had amber-yellow plastic, and personally I prefer to just have yellow ‘evening’ lights in the rooms.
With cycling glasses, I had more of relaxing effect due to them keeping moisture on my eyes, instead of it being burned away by the winter heating.