Change ssh auth

This commit is contained in:
muon 2024-12-29 11:16:09 +00:00
parent 81546214af
commit 8567838f20

View file

@ -1,3 +1,9 @@
{ pkgs, lib, ... }: {
services.openssh.enable = true;
{ pkgs, lib, config, ... }: {
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
X11Forwarding = false;
};
};
}