bucur/modules/users/tobias.nix

21 lines
444 B
Nix
Raw Normal View History

2026-02-05 17:57:02 +02:00
{ 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;
}