Disable SSHD keyboard-interactive login

This commit is contained in:
fruchti 2023-06-07 08:53:31 +02:00
parent 72a89eddfd
commit d9611fade1

View file

@ -4,8 +4,11 @@
i18n.defaultLocale = "en_GB.UTF-8"; i18n.defaultLocale = "en_GB.UTF-8";
console.keyMap = "us"; console.keyMap = "us";
services.xserver.layout = "us-fruchti"; services.xserver.layout = "us-fruchti";
services.openssh.enable = true; services.openssh = {
services.openssh.passwordAuthentication = false; enable = true;
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
};
nix.gc = { nix.gc = {
automatic = true; automatic = true;