mirror of
https://github.com/blahai/nyx.git
synced 2025-02-23 22:05:09 +00:00
15 lines
257 B
Nix
15 lines
257 B
Nix
|
{...}: {
|
||
|
services.openssh = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
PermitRootLogin = "no";
|
||
|
PasswordAuthentication = false;
|
||
|
|
||
|
ClientAliveCountMax = 5;
|
||
|
ClientAliveInterval = 60;
|
||
|
};
|
||
|
openFirewall = true;
|
||
|
ports = [22];
|
||
|
};
|
||
|
}
|