this post was submitted on 16 Jan 2024
6 points (68.8% liked)

Nix / NixOS

1783 readers
1 users here now

Main links

Videos

founded 1 year ago
MODERATORS
 

cross-posted from: https://feddit.de/post/7895009

I'm a semi-recent NixOS user and one thing that bothers me since the beginning is that when I change the Gnome theme (between light and dark), Firefox doesn't adapt. The system theme in Firefox is enabled, but it always displays the light theme, no matter what theme is selected in Gnome.

Internet search, including searching through NixOS discourse, packages, options and Nixpkgs repo surfaced a solution.

Any ideas or tips how to achieve system theme integration for Firefox on NixOS?

NixOS 23.11 / Gnome 45 / sway

all 5 comments
sorted by: hot top controversial new old
[–] snowe 2 points 10 months ago (1 children)

Check that you don’t have fingerprinting turned off. System theme will not work without it.

[–] [email protected] 1 points 10 months ago (2 children)

Oh, I didn't know that. Can you point me to some relevant documentation by any chance? Would love to sort that one out.

[–] snowe 1 points 10 months ago (1 children)
[–] [email protected] 2 points 10 months ago

Thank you. I think that was not the issue though. I could fix it by removing an environment variable which told the system I was using sway (XDG_CURRENT_DESKTOP = "sway";).