about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMalte Tammena <malte.tammena@pm.me>2021-08-17 16:55:50 +0200
committerMalte Tammena <malte.tammena@pm.me>2021-08-17 16:55:50 +0200
commit891e537592bc6460dc06c44d734a4c4ea47a1ae3 (patch)
treee99a120da767f52c9fabc1d268e0dc03abd5349a /nixos
parent6bb9ad36c526261a05587c261c5fe9ebbc010ef6 (diff)
Fix `security.pam.yubico.challengeResponsePath` type
The config is optional and may be left `null`.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/security/pam.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix
index 9a6c7d1782572..5400ba1ef989e 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.