add unprivileged user
This commit is contained in:
parent
a66bfdb1f5
commit
8b8d90cec4
1 changed files with 17 additions and 0 deletions
|
@ -5,4 +5,21 @@
|
|||
];
|
||||
|
||||
networking.firewall.enable = true;
|
||||
|
||||
# unpriviliged user
|
||||
security.sudo.enable = true;
|
||||
users.users.g = {
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHv82n6F6kwJ3/EMYlOoCc1/NaYFW7QHC5F8jKVzdlio gshipunov@toaster"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA3to/h8Myn+zXAkjboaRVqOfmtDz7VpIHhHbaRoYyPX g.shipunov@uva.nl"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICPPG1va3CG8uAXV+ACRFPdi8FicpdOyXqb7eSZJCPXx pixel"
|
||||
];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
];
|
||||
group = "users";
|
||||
home = "/home/g";
|
||||
isNormalUser = true;
|
||||
uid = 1000;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue