Files
Nixos-Config/modules/system/ssh.nix
2026-04-20 15:24:07 +00:00

15 lines
325 B
Nix

# ==========================================
# SSH SERVER CONFIGURATION
# ==========================================
{ config, pkgs, ... }:
{
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = true; # Change to false once you add SSH keys
};
};
}