Enabling duo security results in 'value is a list while a set was expected' #86852
Labels
0.kind: bug
Something is broken
6.topic: nixos
Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Describe the bug
When upgrading my server recently, I updated to a newer nix channel and encountered a bug with my configuration. Whenever I tried to build, I would get
error: value is a list while a set was expected
. I managed to isolate it to the line enabling PAM support for Duo 2-factor auth.To Reproduce
Steps to reproduce the behavior:
security.duosec.pam.enable = true;
nixos-rebuild switch --show-trace
Expected behavior
The system is configured with Duo 2-factor auth enabled via PAM.
Actual behavior
Additional context
Add any other context about the problem here.
Notify maintainers
Metadata
"x86_64-linux"
Linux 5.4.35, NixOS, 20.03.1619.ab3adfe1c76 (Markhor)
yes
yes
nix-env (Nix) 2.3.4
"nixos-20.03.1619.ab3adfe1c76"
"nixos-20.03.1619.ab3adfe1c76"
/nix/var/nix/profiles/per-user/root/channels/nixos
Maintainer information:
The text was updated successfully, but these errors were encountered: