From e237da22a62c05a18950b41e79249daa64e5c099 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 1 Jun 2023 19:23:39 +0200 Subject: [PATCH] base: switch to new sshd settings format --- base/programs.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/base/programs.nix b/base/programs.nix index 3c5d4e4..b9406bd 100644 --- a/base/programs.nix +++ b/base/programs.nix @@ -9,11 +9,11 @@ }; services.openssh = { - passwordAuthentication = false; - permitRootLogin = "no"; - extraConfig = '' - StreamLocalBindUnlink yes - ''; + settings = { + PasswordAuthentication = false; + PermitRootLogin = "no"; + StreamLocalBindUnlink = true; + }; }; environment.systemPackages = builtins.attrValues {