devos/profiles/ssh/default.nix
2022-06-17 18:53:13 +02:00

10 lines
200 B
Nix

{ ... }: {
services.openssh = {
enable = true;
forwardX11 = true;
permitRootLogin = "no";
startWhenNeeded = true;
openFirewall = true;
passwordAuthentication = false;
};
}