about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorChristoph Heiss <christoph@c8h4.io>2023-03-22 16:19:36 +0100
committerMatthieu Coudron <teto@users.noreply.github.com>2023-03-22 22:38:14 +0100
commitc9c9abc60872e7f7facfe17489cfb5f8802aedd3 (patch)
treecb5bcb670b69c061762030c90664be51bfbffccb /nixos
parentb444876f9eaf02bc16cea6eb431ea78787377c4f (diff)
openssh: fix 'undefined variable' error
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/ssh/sshd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix
index 095c7de0b7aa1..5f225682b7779 100644
--- a/nixos/modules/services/networking/ssh/sshd.nix
+++ b/nixos/modules/services/networking/ssh/sshd.nix
@@ -19,7 +19,7 @@ let
         else if true  ==   v then "yes"
         else if false ==   v then "no"
         else if isList     v then concatStringsSep "," v
-        else throw "unsupported type ${typeOf v}: ${(lib.generators.toPretty {}) v}";
+        else throw "unsupported type ${builtins.typeOf v}: ${(lib.generators.toPretty {}) v}";
 
   # dont use the "=" operator
   settingsFormat = (pkgs.formats.keyValue {