Files
nix/modules/ssh.nix
2025-10-03 23:57:28 -05:00

16 lines
235 B
Nix

{ config, lib, pkgs, ... }:
{
# enable and configure openssh
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = true;
PermitRootLogin = "no";
X11Forwarding = false;
};
};
}