Advertisement
Kakuzade

users.nix

Feb 19th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. { config, pkgs, ... }:
  2.  
  3. {
  4.  
  5. # Define a user account. Don't forget to set a password with ‘passwd’.
  6. users.extraUsers.miguel = {
  7. isNormalUser = true;
  8. home = "/home/miguel";
  9. description = "Miguel";
  10. extraGroups = [ "wheel" "sys" "lp" "networkmanager" "audio" ]; # Usuario administrador
  11. # uid = 1000;
  12. };
  13.  
  14. users.extraUsers.invitado = {
  15. isNormalUser = true;
  16. home = "/home/invitado";
  17. description = "Invitado";
  18. extraGroups = [ "sys" "lp" "audio" ]; # Usuario normal NO administrador
  19. # uid = 1000;
  20. };
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement