ssh: fix deprecated warning
This commit is contained in:
parent
98916f89cb
commit
69cbfa332d
|
@ -20,8 +20,11 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
passwordAuthentication = cfg.requirePassword;
|
|
||||||
permitRootLogin = "no";
|
settings = {
|
||||||
|
PasswordAuthentication = cfg.requirePassword;
|
||||||
|
PermitRootLogin = "no";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
programs.gnupg.agent = {
|
programs.gnupg.agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue