-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Home-manager inside ./modules or ./profiles to set user settings in a user agnostic way #303
Comments
I believe we already have this feature, but correct me if your looking for something more. In any version of devos past 0.9(maybe even earlier) there is a concept of "user profiles" and "user modules". They reside in the With devos 0.10.0, home-manager has a dedicated API argument where you can pass a list of home-manager modules and have home-manager profiles that get passed as It does look like the documentation needs to be updated: https://github.com/divnix/devos/blob/core/doc/concepts/users.md, I'll try and get around to that. |
It's difficult for me to tell looking at the documentation. I am currently working off of the develop branch. If I want to make all users using sway set |
Setting that option would only affect users that have sway enabled, thats a standard nixos thing. I would personally enable that option in some profile that deals with setting defaults, apps, or perhaps even the sway profile itself. Then import that profile into my user. |
I included updates to the home-manager docs in #304 |
I couldn't find any previous issues related to this.
Would your feature fix an existing issue?
Not really but I think it would be a nice to have before 1.0
Describe the solution you'd like
I would like to be able to use home-manager inside
./modules
or./profiles
in a user agnostic way, so that you could declare settings for a window manager, text editor, etc via home-manager. Ideally in a way that is overridable. I think this would make modules/profiles more powerful.Describe alternatives you've considered
My nixfu is pretty weak and I'm not certain that this is possible.
Additional context
In case it is unclear, when I say user agnostic I'd like it to either:
or
The text was updated successfully, but these errors were encountered: