Files
nixos-config/home/services/ssh.nix
2024-02-29 14:12:28 +01:00

18 lines
240 B
Nix

{ ... }:
{
services = {
ssh-agent = {
enable = true;
};
openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "prohibit-password";
};
};
};
}