Replies: 1 comment 4 replies
-
|
Importing it via home-manager works just fine, there is an example here (mind, not mine!, and abandoned): https://github.com/Lord-Valen/configuration.nix/blob/master/old/comb/lord-valen/homeProfiles/stylix/default.nix I get the infinite recursion when I am trying to load it as NixOS module: … while evaluating the module argument `config' in "/nix/store/2h89nf57n50969ky41y4lxy44aiddnnz-source/stylix/overlays.nix":
… if you get an infinite recursion here, you probably reference `config` in `imports`. If you are trying to achieve a conditional import behavior dependent on `config`, consider importing unconditionally, and using `mkEnableOption` and `mkIf` to control its effect.
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: infinite recursion encounteredProbably due to hive magic which breaks with the overlay definition in stylix? :/ |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Howdy, it seems to me that using hive and the latest version of stylix is impossible as soon as I import the stylix module in homeProfiles or homeModules it leads to infinte recursion. Is anybody else stupid enough to try and get hive working experiencing this issue?
Beta Was this translation helpful? Give feedback.
All reactions