Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [admin@nixbox:~]$ cat /etc/nixos/useradd.nix
- users.users.admin = {
- isNormalUser = true;
- extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
- };
- users.users.giacinto = {
- isNormalUser = true;
- extraGroups = [ "wheel" ];
- password = "foobar";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement