mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 08:36:11 +01:00
16 lines
234 B
Nix
16 lines
234 B
Nix
{
|
|
networking.firewall.allowedTCPPorts = [ 22 ];
|
|
|
|
services.openssh = {
|
|
enable = true;
|
|
ports = [ 22 ];
|
|
|
|
settings = {
|
|
PermitRootLogin = "no";
|
|
PasswordAuthentication = true;
|
|
UseDns = true;
|
|
};
|
|
};
|
|
|
|
}
|