You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
694 B

5 years ago
  1. { pkgs, ... }:
  2. {
  3. users.extraGroups = [
  4. { name = "jonas"; gid = 1000; }
  5. ];
  6. # Define a user account. Don't forget to set a password with ‘passwd’.
  7. users.extraUsers.jonas = {
  8. description = "Martin Klimes";
  9. home = "/home/klimi";
  10. group = "klimi";
  11. extraGroups = [
  12. "users"
  13. "wheel"
  14. "root"
  15. "adm"
  16. "cdrom"
  17. "fuse"
  18. "wireshark"
  19. "sway"
  20. "networkmanager"
  21. ];
  22. uid = 1000;
  23. isNormalUser = true;
  24. useDefaultShell = false;
  25. shell = pkgs.fish;
  26. #openssh.authorizedKeys.keys = [
  27. # "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKiAS30ZO+wgfAqDE9Y7VhRunn2QszPHA5voUwo+fGOf jonas"
  28. # ];
  29. };
  30. }