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

Illustrate multiple users vs username aliases in config.nix #134

Open
cameronraysmith opened this issue Feb 20, 2025 · 0 comments
Open

Illustrate multiple users vs username aliases in config.nix #134

cameronraysmith opened this issue Feb 20, 2025 · 0 comments

Comments

@cameronraysmith
Copy link
Contributor

Following up on #93 and the sentiment behind srid/nixos-config#66 (comment) update

{
me = {
username = "runner";
fullname = "John Doe";
email = "johndoe@example.com";
};
}

to

 { 
   me = { 
     username = "runner"; 
     fullname = "John Doe"; 
     email = "johndoe@example.com"; 
   }; 
   you = { 
     username = "gunner"; 
     fullname = "Ron Poe"; 
     email = "ronpoe@example.com"; 
   };
 } 

and illustrate the distinct home manager configuration for you. It may also be valuable to illustrate the scenario essentially treating the two usernames as aliases with home manager configurations that are equivalent apart from the username, such as

rec { 
   me = { 
     username = "johndoe"; 
     fullname = "John Doe"; 
     email = "johndoe@example.com"; 
   }; 
   meInGha = me // { 
     username = "runner"; 
   }; 
 } 
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant