From 891e537592bc6460dc06c44d734a4c4ea47a1ae3 Mon Sep 17 00:00:00 2001 From: Malte Tammena Date: Tue, 17 Aug 2021 16:55:50 +0200 Subject: [PATCH] Fix `security.pam.yubico.challengeResponsePath` type The config is optional and may be left `null`. --- nixos/modules/security/pam.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix index 9a6c7d178257..5400ba1ef989 100644 --- a/nixos/modules/security/pam.nix +++ b/nixos/modules/security/pam.nix @@ -828,7 +828,7 @@ in }; challengeResponsePath = mkOption { default = null; - type = types.path; + type = types.nullOr types.path; description = '' If not null, set the path used by yubico pam module where the challenge expected response is stored.