homelab/nixos/shared/ssh.nix

12 lines
197 B
Nix
Raw Normal View History

2025-05-22 18:50:50 +00:00
{ config, pkgs, ... }: {
# Enable the OpenSSH daemon.
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = true;
};
};
}