feat(sshd conf): disable password authentication

This commit is contained in:
Ahurac 2024-10-22 18:22:44 +02:00
parent f3b4188f13
commit c51d76aa20

View file

@ -7,7 +7,10 @@
console.keyMap = "us";
services.openssh.enable = true;
services.openssh = {
enable = true;
settings = { PasswordAuthentication = false; };
};
environment.systemPackages = with pkgs; [ cryptsetup ];