ssh: fix deprecated warning

This commit is contained in:
Jill 2023-02-25 13:50:15 +01:00
parent 98916f89cb
commit 69cbfa332d

View file

@ -20,8 +20,11 @@ in {
config = mkIf cfg.enable {
services.openssh = {
enable = true;
passwordAuthentication = cfg.requirePassword;
permitRootLogin = "no";
settings = {
PasswordAuthentication = cfg.requirePassword;
PermitRootLogin = "no";
};
};
programs.gnupg.agent = {
enable = true;