-
Notifications
You must be signed in to change notification settings - Fork 44
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
User for specific systems #135
Comments
Hmm, currently this is due to users defaulting to being enabled on systems with What you could do at the moment is disable the user on systems that you do not want it on. It's not ideal, but would get the job done. {
snowfallorg.users.myuser.create = false;
} (You may also have to set |
@jakehamilton Even if I set
when trying to deploy to a host that doesn't have this user. My |
Quick update, I've found this host config solves my problem. snowfallorg.users.alice = {
create = false;
home.enable = false;
}; IMO having |
Is there a way to enable a user only for specific hosts (more then one)?
I have x systems in my config but want to enable only on two the home-manager config for an user.
I tried softlinks, but this does not work.
Is there any other way, than copying the whole user each time I change something?
The text was updated successfully, but these errors were encountered: