System/nixos/modules/ssh.nix

17 lines
211 B
Nix
Raw Normal View History

2025-02-12 01:49:06 -05:00
{
config,
lib,
pkgs,
...
}: {
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
programs.mosh.enable = true;
}