20 lines
444 B
Nix
20 lines
444 B
Nix
{ pkgs, ... }:
|
|
{
|
|
users.users.tobias = {
|
|
isNormalUser = true;
|
|
uid = 1000;
|
|
group = "tobias";
|
|
extraGroups = [ "wheel" ];
|
|
home = "/home/tobias";
|
|
shell = pkgs.bashInteractive;
|
|
openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBgC4+zkTKNLPCt1vcTLyA+iwKGG8hrmcN2XKUExAR8W randogoth@mrht"
|
|
];
|
|
};
|
|
|
|
users.groups.tobias = {
|
|
gid = 1000;
|
|
};
|
|
|
|
security.sudo.wheelNeedsPassword = false;
|
|
}
|