Advertisement
Guest User

Untitled

a guest
Nov 6th, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. [admin@nixbox:~]$ cat /etc/nixos/useradd.nix
  2.  
  3. users.users.admin = {
  4. isNormalUser = true;
  5. extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
  6. };
  7.  
  8. users.users.giacinto = {
  9. isNormalUser = true;
  10. extraGroups = [ "wheel" ];
  11. password = "foobar";
  12. };
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement