Initial clean commit
This commit is contained in:
commit
1862821f8f
15 changed files with 1240 additions and 0 deletions
20
modules/users/tobias.nix
Normal file
20
modules/users/tobias.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue