2024-10-27 12:42:26 +01:00
|
|
|
_:
|
2024-10-27 12:33:35 +01:00
|
|
|
{
|
2023-09-24 14:56:07 +02:00
|
|
|
config = {
|
|
|
|
|
services.openssh = {
|
|
|
|
|
enable = true;
|
|
|
|
|
openFirewall = true;
|
|
|
|
|
settings = {
|
|
|
|
|
PermitRootLogin = "without-password";
|
|
|
|
|
PasswordAuthentication = false;
|
|
|
|
|
KbdInteractiveAuthentication = false;
|
|
|
|
|
};
|
|
|
|
|
};
|
2024-10-26 00:04:27 +02:00
|
|
|
|
|
|
|
|
services.tailscale = {
|
|
|
|
|
enable = true;
|
|
|
|
|
openFirewall = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
networking.firewall = {
|
|
|
|
|
enable = true;
|
|
|
|
|
checkReversePath = "loose";
|
|
|
|
|
};
|
2023-09-24 14:56:07 +02:00
|
|
|
};
|
|
|
|
|
}
|