16 lines
358 B
Nix
16 lines
358 B
Nix
_:
|
|
{
|
|
users.users.user = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" "docker" "network" "plugdev" ];
|
|
|
|
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDdCJK3NBMbGwvSxXq0kp/FzWUU0l0D1WX8f4vBubtZ7" ];
|
|
};
|
|
security = {
|
|
doas = {
|
|
enable = true;
|
|
extraConfig = "permit nopass keepenv :wheel";
|
|
};
|
|
};
|
|
}
|