-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fonts: behaviour is different when in a specialisation #540
Comments
Unfortunately, I have not had the time to incorporate specialisations into my own setup, which means that my help is somewhat limited. Maybe one of the discussions mentioned in #530 could help.
I will consider this when cleaning up the codebase. |
Are you using NixOS in addition to Home Manager, and if so, do you have them combined into one configuration or are you running Home Manager independently? I'm wondering if this could be caused by the way NixOS copies the settings from your main configuration into the specialisation. Also, have you considered setting |
Setting
That will surely be it. Base configuration and specialisation must evaluate/inherit nix expression in different order when they are being built, and that is what produces different end results. To my limited knowledge (I am still very new to nix), I have Nixos and Home-Manager combined into one configuration. Very much like with Stylix, I use Home-Manager as Nixos Module. I will play around with setting higher value to home-manager Thanks to both of you and wish you having a great day! |
Hi, and first of all: Amazing nixos module! Thanks so much, it's awesome : )
I use "Fira Code" in all my
stylix.fonts
settings and I have "Open Sans" declared ingtk.font.name
option in home manager for gtk apps. When I am on my base configuration, this works exactly as I want. Terminals use Fira and gtk apps use Sans.However, when I switch to my light-theme specialisation, which is set to simply inherits all font configs of the base configuration, gtk apps then switch to Fira too, even though both gtk and firefox settings still say that they use Open Sans in their configuration. I even tried to set in firefox to explicitly Open Sans, but in this specialisation, it still uses Fira.
Which just makes me wonder, any idea, why would stylix respect gtk font setting in one case and override them in the other?
And in case that there would not be solution to this, I wondered if it would be possible to get
stylix.fonts.enable
option, which could be set tofalse
to be able to configure fonts manually?The text was updated successfully, but these errors were encountered: