1
0
Fork 0
dotfiles/system/nixos/ssh.nix

15 lines
284 B
Nix

{ pkgs, ... }:
{
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "prohibit-password";
};
};
environment.systemPackages = with pkgs; [ wezterm.terminfo ];
}