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

You are viewing a single thread.
View all comments View context
1 point

Hm, thanks for sharing. Maybe a clean install will sort out the issue. Should try that when I’ll have some time.

permalink
report
parent
reply
0 points

I would suggest trying with Wayland + GNOME, using GNOME’s default WM, rather than sway. If that works, and sway doesn’t, then the issue is somewhere between GNOME and Sway. That should help narrow things down.

permalink
report
parent
reply
2 points

I removed an environment variable XDG_CURRENT_DESKTOP = "sway"; (which I added long ago from some tutorial) and it solved the issue. Thank you for your input! :)

permalink
report
parent
reply

nixos

!nixos@lemmy.ml

Create post

All about NixOS - https://nixos.org/

Community stats

  • 24

    Monthly active users

  • 109

    Posts

  • 282

    Comments

Community moderators