HermitNix_DEPRECATED/Services/ssh.nix

13 lines
236 B
Nix
Raw Normal View History

2023-10-20 21:52:37 +00:00
{ config, pkgs, ... }:
{ # Enable and configure openssh
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
X11Forwarding = false;
};
};
}