nix-dotfiles/nixos_modules/remote-deploy.nix

10 lines
198 B
Nix

{
services.openssh = {
enable = true;
openFirewall = true;
permitRootLogin = "prohibit-password";
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
};
}