This commit is contained in:
root 2024-05-27 19:43:37 +02:00
parent 14cc3fb388
commit 5ee250766e

View file

@ -49,7 +49,7 @@ in
forwardPorts = forwardPorts =
map (port: { map (port: {
destination = destination =
toString vars.ovenNat.pastila.address ++ ":" ++ toString port.num; toString vars.ovenNat.pastila.address + ":" + toString port.num;
proto = port.proto; proto = port.proto;
sourcePort = port.num; sourcePort = port.num;
}) vars.ovenNat.forwardPorts; }) vars.ovenNat.forwardPorts;
@ -73,7 +73,6 @@ in
]; ];
}; };
services.openssh.settings.PermitRootLogin = "no";
services.openssh.ports = [ 2222 ]; services.openssh.ports = [ 2222 ];
# Set up the hypervisor # Set up the hypervisor