From aa99bd69f0fb2ea5d7e6ff99af3a01c1209857f7 Mon Sep 17 00:00:00 2001 From: Taeer Bar-Yam Date: Wed, 19 Jan 2022 09:38:13 -0500 Subject: [PATCH] fix punctuation Co-authored-by: pennae <82953136+pennae@users.noreply.github.com> --- nixos/modules/programs/ssh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/ssh.nix b/nixos/modules/programs/ssh.nix index 6086abfc2380..f2d02362a0a8 100644 --- a/nixos/modules/programs/ssh.nix +++ b/nixos/modules/programs/ssh.nix @@ -278,7 +278,7 @@ in message = "knownHost ${name} must contain either a publicKey or publicKeyFile"; }); - warnings = mapAttrsToList (name: _: ''programs.ssh.knownHosts.${name}.hostNames is deprecated use programs.ssh.knownHosts.${name}.extraHostNames'') + warnings = mapAttrsToList (name: _: ''programs.ssh.knownHosts.${name}.hostNames is deprecated, use programs.ssh.knownHosts.${name}.extraHostNames'') (filterAttrs (name: {hostNames, extraHostNames, ...}: hostNames != [ name ] ++ extraHostNames) cfg.knownHosts); # SSH configuration. Slight duplication of the sshd_config