devos/profiles/ssh/default.nix

11 lines
200 B
Nix
Raw Permalink Normal View History

2021-04-06 13:37:40 +02:00
{ ... }: {
services.openssh = {
enable = true;
forwardX11 = true;
permitRootLogin = "no";
startWhenNeeded = true;
2021-07-07 12:55:16 +02:00
openFirewall = true;
passwordAuthentication = false;
2021-04-06 13:37:40 +02:00
};
}