From 2249c0859e81d94b4167d966a6e17ca23c9d8d7c Mon Sep 17 00:00:00 2001 From: codgician <15964984+codgician@users.noreply.github.com> Date: Mon, 16 Dec 2024 12:16:20 +0800 Subject: [PATCH] nixos/waagent: specify OS.OpensslPath by default --- nixos/modules/virtualisation/waagent.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nixos/modules/virtualisation/waagent.nix b/nixos/modules/virtualisation/waagent.nix index afdcfd6ebe35..e3436a21d9c2 100644 --- a/nixos/modules/virtualisation/waagent.nix +++ b/nixos/modules/virtualisation/waagent.nix @@ -192,6 +192,15 @@ let If set to `null`, the system defaults are used. ''; }; + + OpensslPath = lib.mkOption { + type = types.nullOr types.path; + default = lib.getExe pkgs.openssl; + defaultText = literalExpression "lib.getExe pkgs.openssl"; + description = '' + Specify a path for the openssl binary to use for cryptographic operations. + ''; + }; }; HttpProxy = {