Removed password auth from sshd

This commit is contained in:
Giulio De Pasquale 2021-12-19 13:24:19 +01:00
parent 12b02bbaa3
commit c01239c99d

View File

@ -132,7 +132,11 @@ in {
services = { services = {
zfs.autoScrub.enable = true; zfs.autoScrub.enable = true;
xserver.videoDrivers = [ "nvidia" ]; xserver.videoDrivers = [ "nvidia" ];
openssh.enable = true; openssh = {
enable = true;
passwordAuthentication = false;
challengeResponseAuthentication = false;
};
smartd.enable = true; smartd.enable = true;
}; };