15 lines
235 B
Nix
15 lines
235 B
Nix
{ ... }:
|
|
|
|
{
|
|
services.openssh = {
|
|
enable = true;
|
|
settings = {
|
|
PermitRootLogin = "no";
|
|
PasswordAuthentication = false;
|
|
AllowUsers = [ "sajenim" ];
|
|
};
|
|
ports = [ 62841 ];
|
|
openFirewall = true;
|
|
};
|
|
}
|