mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
16 lines
368 B
Nix
16 lines
368 B
Nix
|
|
{ ... }:
|
||
|
|
{
|
||
|
|
services.openssh = {
|
||
|
|
enable = true;
|
||
|
|
ports = [22];
|
||
|
|
settings = {
|
||
|
|
PasswordAuthentication = true;
|
||
|
|
AllowUsers = null;
|
||
|
|
PermitRootLogin = "yes";
|
||
|
|
LoginGraceTime = 0;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
|
||
|
|
users.users.liv.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGXi00z/rxVrWLKgYr+tWIsbHsSQO75hUMSTThNm5wUw liv@lila" ];
|
||
|
|
}
|