You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use stylix in my system configuration (by simply importing stylix.nixosModules.stylix and setting stylix.image and also having home-manager already imported), I always receive the following error when trying to rebuild my system:
The commit that introduced this seems to be a1c4e81, as this seems to be the commit that introduced the usage of config.lib(.stylix) in the codebase and every commit right before this works perfectly fine.
My best guess as to why this might occur is that the corresponding option (options.lib(.stylix)) is never declared in any module and as far as I know, only config definitions that have a corresponding option declaration are considered valid by the module system, but it might be something else entirely.
The text was updated successfully, but these errors were encountered:
config.lib is a special option which allows anything to be created inside it, without being specifically declared. I wonder if another part of your configuration is overriding what Stylix has added there.
When trying to use stylix in my system configuration (by simply importing
stylix.nixosModules.stylix
and settingstylix.image
and also having home-manager already imported), I always receive the following error when trying to rebuild my system:The commit that introduced this seems to be a1c4e81, as this seems to be the commit that introduced the usage of
config.lib(.stylix)
in the codebase and every commit right before this works perfectly fine.My best guess as to why this might occur is that the corresponding option (
options.lib(.stylix)
) is never declared in any module and as far as I know, only config definitions that have a corresponding option declaration are considered valid by the module system, but it might be something else entirely.The text was updated successfully, but these errors were encountered: