2023-04-14 14:12:45 +03:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
myData,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
config = {
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
PasswordAuthentication = false;
|
|
|
|
PermitRootLogin = "no";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
programs.mosh.enable = true;
|
2023-07-23 15:02:58 +03:00
|
|
|
programs.ssh.knownHosts = myData.hosts;
|
2023-04-14 14:12:45 +03:00
|
|
|
};
|
|
|
|
}
|