-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Using stylix with home.file #704
Comments
It is an already acknowledged integration limitation between Stylix and Home Manager:
Unless you copy-paste and slightly modify the current Stylix module implementation, I am unaware of a reliable solution before the previously mentioned limitations have been resolved. Depending on the configuration format, |
Stylix uses the Line 16 in 1d7b70e
If you adapt your own configuration to also use this option, the two should merge together seamlessly. Of course, this means you no longer have a configuration file in the original format to use outside of Home Manager. |
Minimal Example
When using stylix with (flake standalone) home-manager I would like to do the following (example for lazygit):
HomeManager Error
But, I get this error from home-manager:
Attempted Workarounds
1
- programs.lazygit.enable = true;
I've tried leaving out the enable. Then,
home-manager switch
works, but the stylix config isn't applied, only that from the dotfiles (makes sense).2
I've also tried changing the
home.file
fromsource
totext
usingbuiltins.readFile
, since nixos wiki mentions thatBut, it gives the same error of
Conflicting managed target files: .config/lazygit/config.yml
.Questions
The text was updated successfully, but these errors were encountered: