dotfiles/common/systemModules/sshd.nix
2025-02-21 23:40:34 -05:00

17 lines
285 B
Nix

{ pkgs, ... }:
{
environment = {
systemPackages = with pkgs; [
kitty.terminfo
];
};
services = {
openssh = {
enable = true;
authorizedKeysFiles = [ "${./ssh.keys}" ];
settings = {
PasswordAuthentication = false;
};
};
};
}