From b6ab147459df0052cc685b7e58857599b3c01fe1 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Wed, 15 Feb 2023 22:02:27 +0100 Subject: ssh: rename options --- config/networking.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/networking.nix b/config/networking.nix index decd84e..18f38c3 100644 --- a/config/networking.nix +++ b/config/networking.nix @@ -21,8 +21,10 @@ services.openssh = { enable = true; - permitRootLogin = "no"; - passwordAuthentication = false; + settings = { + permitRootLogin = "no"; + passwordAuthentication = false; + }; extraConfig = '' AcceptEnv PS1 ''; -- cgit v1.2.3