Skip to content

Can you use both NixOS and Home-Manager versions of Stylix at the same time? #302

Answered by danth
NovaViper asked this question in Q&A
Discussion options

You must be logged in to vote

Since you are using Home Manager within NixOS (home-manager.users.novaviper), Stylix will automatically import its Home Manager module when you install it to NixOS. Because you already imported the Home Manager module yourself, this causes each of our options to be defined twice, hence the error. You should be able to solve this by setting stylix.homeManagerIntegration.autoImport = false, which disables the automatic import.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NovaViper
Comment options

Answer selected by NovaViper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants