Skip to content
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

Home Manager support #79

Open
fufexan opened this issue Jul 9, 2021 · 4 comments
Open

Home Manager support #79

fufexan opened this issue Jul 9, 2021 · 4 comments

Comments

@fufexan
Copy link
Collaborator

fufexan commented Jul 9, 2021

I'm thinking of writing something similar to hosts, but for standalone Home Manager. I believe it's not just me who would like to see this go through, as the difference between configuring nixosConfigurations and homeManagerConfigurations is a bit stark at the moment.
Would this benefit the project or is it something better suited in the user's personal lib?

@blaggacao
Copy link
Collaborator

I'd welcome this addition. It's fully prototyped on divnix/digga, already.

@blaggacao
Copy link
Collaborator

In fact, we are currently figuring out how to properly use useUserPackages. So far my conclusion is:

  • user@host type profiles should probably use the same config as the host and should only be used for the host they where made.

  • a portable user should use useUserPackages = false that is using $HOME/.nix-profile to remain portable for the "my user config at work" use case.

The first can be easily derived from a host's config.home-manage.users. The latter is a little more involved and I'm trying to figure out the best design, here: it would be a list of users that would be built from a certain lists of modules and profiles.

blaggacao added a commit that referenced this issue Jul 12, 2021
towards #79

This allows users to create hm users per arch / pkgs
@jessestricker
Copy link

jessestricker commented May 31, 2022

@gytis-ivaskevicius Is this something you like to see included in FUP? If so, I would be willing to give designing/implementing this a feature try.

Or would a feature like this be too much "fluff"? 🤔

@gytis-ivaskevicius
Copy link
Owner

Yeah, I'd be down for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants