Open robled opened 2 weeks ago
Yea, this is something I want to do more cleanly as part of https://github.com/juspay/nixos-unified-template/issues/93
Take a look at the linked (in the comment) juspay/remote-development
repo for one approach, and let me know what you think in that issue.
But assuming this is all you want:
the same home-manager config to multiple users.
You can achieve this using home-manager.sharedModules
.
My above comment was about having separate home-manager config for each user, though it also addresses having a second user and so on in your original question.
I've been looking through the code and I'm trying to determine if it's possible to apply the same home-manager config to multiple users. I see the primary user defined in config.nix, but I'm not seeing a place to define a second user.