ssh: fix deprecated warning
This commit is contained in:
parent
98916f89cb
commit
69cbfa332d
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue