gytis-ivaskevicius / flake-utils-plus

Use Nix flakes without any fluff.
MIT License
461 stars 53 forks source link

Home Manager support #79

Open fufexan opened 2 years ago

fufexan commented 2 years ago

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 commented 2 years ago

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

blaggacao commented 2 years ago

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

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.

jessestricker commented 2 years ago

@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 commented 2 years ago

Yeah, I'd be down for this