From 15a6796b118e23908fc4aca95ad6ca30552ae2ee Mon Sep 17 00:00:00 2001 From: Baitinq Date: Wed, 1 Feb 2023 00:50:04 +0100 Subject: Misc: Change openssh config syntax to conform to new standard --- hosts/configuration.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 0772942..d8fdc0b 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -141,8 +141,10 @@ services = { openssh = { enable = true; - passwordAuthentication = false; - kbdInteractiveAuthentication = false; + settings = { + passwordAuthentication = false; + kbdInteractiveAuthentication = false; + }; listenAddresses = [{ addr = "0.0.0.0"; port = 22; -- cgit 1.4.1